Matlab Custom Add-On disappearing from Add-On list after restarting the Matlab instant
조회 수: 7 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Vandit
2024년 7월 23일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!