Simulink can not be Opened

23 次查看(过去 30 天)
Py L
Py L 2021-5-23
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.

回答(1 个)

Uday Pradhan
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
If this does not fix the issue, please contact Support.
  2 个评论
Py L
Py L 2021-5-30
Thank you for your answer. But I'm sorry that I have tried on your method but it didn't work. Now the situation is: I have suspected that the problem is due to a want of updates and then I installed MATLAB 2020B. I tried on this method in 2020B. When I ran "restoredefaultpath" and "rehash toolboxcache", the command could be completed as expected. But when I ran "sl_refresh_customizations", it didn't work and became unresponsive just like Simulink.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by