- 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 次查看(过去 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!