Not able to use add ons which require Simulink Installed

6 views (last 30 days)
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.

Answers (1)

Ankriti Sachan
Ankriti Sachan on 13 May 2020
This error might be happening due to some path resolution failure or due to cache. You can try this to resolve the issue:
  1. 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 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:

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!