Matlab Custom Add-On disappearing from Add-On list after restarting the Matlab instant
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am working with custom Matlab add-on (simulink toolbox) which I tried installing (with/without admin access), but everytime I close the Matlab and reopen the new instance I lose that add-on from add-on list that also mean I am not able to use those custom toolboxes.
Please note I still see the custom add-on installation present on the disk at following folder.
Users\<user.name>\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\<<CustomToolBox>>
Does anyone know what is the resolution to this?
0 Kommentare
Antworten (1)
Vandit
am 23 Jul. 2024
Hello Vikas,
When you install a support package, MATLAB tries to add the necessary directories to your path. However, if your 'pathdef.m'(path definition file) is read-only, it may have failed to save the updated path. This means the path changes are only active until you restart MATLAB.
You should have seen some error or warning text when you installed the support package, indicating that the installer failed to save the updated path. You can save your path to a location by using the "savepath" function with an input argument that specifies the full path. To ensure MATLAB uses this path in future sessions, save the path to 'pathdef.m' in your MATLAB startup folder.
Additionally, please refer to the following MATLAB Answers thread which might resolve your query:
To know more about "savepath" function, please refer to the documentation given below:
Hope this helps.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Startup and Shutdown 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!