- Take a backup of your ‘pathdef.m’ file, which can be located by using the command
Not able to use add ons which require Simulink Installed
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am browsing the add on store but am not able to add any add on which require simulink. I had installed Simulink seperately after installing matlab and have my academic liscence for both. Also Simulink is working fine in my pc and opens up when i write simulink in the command window. I am using Matlab 2020 in my windows 10 pc. But still while installing any add on it shows simulink not installed.
0 Kommentare
Antworten (1)
Ankriti Sachan
am 13 Mai 2020
This error might be happening due to some path resolution failure or due to cache. You can try this to resolve the issue:
>> 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 backup, execute following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
>> sl_refresh_customizations
After this step, please use MATLAB/ 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
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:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!