- 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
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Ankriti Sachan
2020 年 5 月 13 日
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 件のコメント
参考
カテゴリ
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!