How do I perform a clean re-installation of a Support Package?

1,004 views (last 30 days)
My Support Package did not fully install or became corrupt during installation. How can I perform a clean re-installation of the Support Package?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Aug 2022
Edited: MathWorks Support Team on 12 Aug 2022
Sometimes support packages become corrupt and cannot complete installation or encounter errors that you cannot get past. In these scenarios, it is beneficial to perform a clean re-installation of your Support Package rather than a regular re-installation.
Please note that all your Support Packages will be uninstalled or removed and will require re-installation.
 

For R2016b and newer:

1. Open MATLAB and choose the drop-down menu for "Add-Ons", followed by the "Manage Add-Ons" option. Find your Support Package on the generated list and click the "Uninstall" button across from it. Once this uninstall is complete, close out of MATLAB.
2. Navigate to the following folder on your computer and delete the contents you find there:
Windows = C:\ProgramData\MATLAB\SupportPackages\R20XXx\
Mac = /Users/<username>/Documents/MATLAB/SupportPackages/R20XXx/
Linux = /home/<username>/Documents/MATLAB/SupportPackages/R20XXx/
NOTE: "ProgramData" is a hidden folder, but you can use the shortcut %ProgramData% from Windows Search to jump right to the current user's ProgramData folder.
3. Open the 'Downloads' folder on your computer, then navigate to \MathWorks\SupportPackages\R20XXx\. Delete the contents of the "R20XXx" folder.
NOTE: This will remove all support packages that you currently have installed.
4. Run the Support Package installer again and re-install your Support Package now.
 

For R2016a and prior:

1. Open MATLAB and choose the drop-down menu for "Add-Ons", followed by the "Get Hardware Support Packages" option. In the Support Package Installer choose the "Uninstall" radio button, then click "Next". Follow the remaining menus to uninstall the desired Support Package.
2. Navigate to the following folder on your computer and delete the contents you find there:
Windows = C:\MATLAB\SupportPackage\R20XXx\
Mac = /Users/<username>/Documents/MATLAB/SupportPackages/R20XXx/
Linux = /home/<username>/Documents/MATLAB/SupportPackages/R20XXx/
3. Open the 'Downloads' folder on your computer, then navigate to \MathWorks\SupportPackages\R20XXx\. Delete the contents of the "R20XXx" folder.
NOTE: This will remove all support packages that you currently have installed.
4. Open MATLAB again and run the following commands:
>> restoredefaultpath
>> savepath
5. Run the Support Package installer again and re-install your Support Package now.
  6 Comments

Sign in to comment.

More Answers (8)

GIZEH TRIANA CARDENAS
GIZEH TRIANA CARDENAS on 8 Nov 2018
I did that 10 times and the problem persist

Linus Möller
Linus Möller on 13 Oct 2020
same issue it's 2020 now...
  2 Comments
Gabriel Hernandez
Gabriel Hernandez on 5 Mar 2023 at 23:46
Same issue, it's 2023 now. How come they point to an answer from 7 years ago, and still haven't managed to solve it. Isn't this paid software?

Sign in to comment.


Multiplexer
Multiplexer on 13 Sep 2018
How do i selectively clean re-install selected support package? If i have 20 of them installed i can't afford removing them all just because one of them starts causing troubles.

Mallik Danish Wahab
Mallik Danish Wahab on 6 Jun 2019
problem not solved i am also facing same issue !

Mirko Mirabella
Mirko Mirabella on 24 May 2022
Good morning, I have the same problem, I can't install and download the Simulink support package for raspberry on my linux OS
  1 Comment
I-Tsun Wang
I-Tsun Wang on 8 Jul 2022
same here, Have you solved the issue yet? May I ask you if you are using a company/Uni laplop with extra sercurity setting ?

Sign in to comment.


Haik Biglari
Haik Biglari on 19 Dec 2018
I have the same issue.

Sylvain
Sylvain on 23 Oct 2020
Can you please provide details on how to do a clean re-install of a unique support package without deleting the other installed?
  1 Comment
Colin Fraser
Colin Fraser on 28 Oct 2020
You would have to delete the specific folder related to the support package. This can be tricky as some support packages have multiple folders. I would contact us so you could troubleshoot this issue live.
-Colin Fraser

Sign in to comment.


Dan Kim
Dan Kim on 7 Jun 2021
For MathWorks, I confirmed the successfully installation of the Adalm-Pluto Hardware support package for MatLab R2021a. I recommend using the "install option" instead of "download only". For some reason (Firewall or whatever), I got stuck in downloading 3rd party vendor support files.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!