How to uninstall a support package after deletion of its files?
Dear all,
I am using MATLAB on Linux, where the support packages (add-ons for HW support) are installed under the "/home/<username>/Documents/MATLAB/SupportPackages/R2025a" directory. I deleted the "/home/<username>/Documents/MATLAB" directory with all its content, so upon the next MATLAB launch, I received the following error:
Error using getExamplesFcnAndArgsForBaseCode
Expected input number 2, spRoot, to be nonempty.
Error in matlabshared.supportpkg.internal.ssi.util.getExamplesFcnAndArgsForBaseCode
Error in getSupportPackagesToAddDocumentation (line 27)
openExamplesFcn = matlabshared.supportpkg.internal.ssi.util.getExamplesFcnAndArgsForBaseCode(currentBaseCode, sproot);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.addons.UiMessageHandler.handleAddSetupAndOpenDocToSupportPackages (line 324)
spkgWithExamples = getSupportPackagesToAddDocumentation();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I closed MATLAB, created a directory "/home/<username>/Documents/MATLAB/SupportPackages/R2025a" and launched the MATLAB again.
There was no error, but one of the blocks in my simulink model would say "you do not have this add-on installed".
In the "Add-on manager" I still can see this add-on, and on my attempts to uninstall it (to further reinstall) MATLAB tries to delete it forever (possibly due to that I deleted the add-on files before).
It is also not poissible to install the add-on with the "Add-on explorer" because, I guess, it thinks that the add-on is installed and working fine.
Is there a way to delete the add-on manually and install it back?
Thank you!Dear all,
I am using MATLAB on Linux, where the support packages (add-ons for HW support) are installed under the "/home/<username>/Documents/MATLAB/SupportPackages/R2025a" directory. I deleted the "/home/<username>/Documents/MATLAB" directory with all its content, so upon the next MATLAB launch, I received the following error:
Error using getExamplesFcnAndArgsForBaseCode
Expected input number 2, spRoot, to be nonempty.
Error in matlabshared.supportpkg.internal.ssi.util.getExamplesFcnAndArgsForBaseCode
Error in getSupportPackagesToAddDocumentation (line 27)
openExamplesFcn = matlabshared.supportpkg.internal.ssi.util.getExamplesFcnAndArgsForBaseCode(currentBaseCode, sproot);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.addons.UiMessageHandler.handleAddSetupAndOpenDocToSupportPackages (line 324)
spkgWithExamples = getSupportPackagesToAddDocumentation();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I closed MATLAB, created a directory "/home/<username>/Documents/MATLAB/SupportPackages/R2025a" and launched the MATLAB again.
There was no error, but one of the blocks in my simulink model would say "you do not have this add-on installed".
In the "Add-on manager" I still can see this add-on, and on my attempts to uninstall it (to further reinstall) MATLAB tries to delete it forever (possibly due to that I deleted the add-on files before).
It is also not poissible to install the add-on with the "Add-on explorer" because, I guess, it thinks that the add-on is installed and working fine.
Is there a way to delete the add-on manually and install it back?
Thank you! Dear all,
I am using MATLAB on Linux, where the support packages (add-ons for HW support) are installed under the "/home/<username>/Documents/MATLAB/SupportPackages/R2025a" directory. I deleted the "/home/<username>/Documents/MATLAB" directory with all its content, so upon the next MATLAB launch, I received the following error:
Error using getExamplesFcnAndArgsForBaseCode
Expected input number 2, spRoot, to be nonempty.
Error in matlabshared.supportpkg.internal.ssi.util.getExamplesFcnAndArgsForBaseCode
Error in getSupportPackagesToAddDocumentation (line 27)
openExamplesFcn = matlabshared.supportpkg.internal.ssi.util.getExamplesFcnAndArgsForBaseCode(currentBaseCode, sproot);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.addons.UiMessageHandler.handleAddSetupAndOpenDocToSupportPackages (line 324)
spkgWithExamples = getSupportPackagesToAddDocumentation();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I closed MATLAB, created a directory "/home/<username>/Documents/MATLAB/SupportPackages/R2025a" and launched the MATLAB again.
There was no error, but one of the blocks in my simulink model would say "you do not have this add-on installed".
In the "Add-on manager" I still can see this add-on, and on my attempts to uninstall it (to further reinstall) MATLAB tries to delete it forever (possibly due to that I deleted the add-on files before).
It is also not poissible to install the add-on with the "Add-on explorer" because, I guess, it thinks that the add-on is installed and working fine.
Is there a way to delete the add-on manually and install it back?
Thank you! add-on, simulink, linux, add-on explorer, add-on manager MATLAB Answers — New Questions