Simulink can not be Opened

조회 수: 18 (최근 30일)
Py L
Py L 2021년 5월 23일
댓글: Bharat Bohara 2022년 7월 2일
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.
Bharat Bohara
Bharat Bohara 2022년 7월 2일
Thanks this helped.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by