Simulink can not be Opened
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Uday Pradhan
le 26 Mai 2021
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
2 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!