Simulink can not be Opened
23 次查看(过去 30 天)
显示 更早的评论
My MATLAB is 2019B and my license is an academic license. I can't open Simulink in my computer. When I click "Simulink" or input "simulink" into MATLAB command window, there is no any phenomenon that appears, even an error hint window. It just like that I have not done anything about Simulink. But when I close MATLAB, it will hint me that there is a current executing task. I can't find the reason.I have installed JDK. Although I have reinstalled MATLAB, the problem still appears.
0 个评论
回答(1 个)
Uday Pradhan
2021-5-26
Hi,
I understand that you are unable to open Simulink and it is unresponsive. The initial troubleshooting steps you can attempt when facing issues of this nature are to restore your search path as a corrupt search path can often cause startup issues.
Here are the steps to follow:
1.
Before modifying the search path, it is important to take a backup of your 'pathdef.m' file, which can be located by using the command:
which -all pathdef
Before proceeding, ensure that you make a safe copy of the file by copying it to a folder outside of your MATLAB path.
2.
After taking the backup, please execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
NOTE: This will remove any custom paths you may have created. The following MATLAB Answers post is an additional resource on how to back them up:https://www.mathworks.com/matlabcentral/answers/166871-how-will-running-the-restoredefaultpath-and-savepath-commands-affect-my-custom-paths-and-how-do-i-ba
restoredefaultpath
rehash toolboxcache
sl_refresh_customizations
After this step, please use Simulink to see if the issue occurs again. If the issue is resolved, then you may want to save the new MATLAB search path by executing the following command:
savepath
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!