How do I perform a clean re-installation of a Support Package?
조회 수: 307 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2016년 12월 30일
댓글: Stefanie Schwarz
2024년 7월 24일
My Support Package did not fully install or became corrupt during installation. How can I perform a clean re-installation of the Support Package?
채택된 답변
MathWorks Support Team
2024년 1월 5일
편집: MathWorks Support Team
2024년 1월 5일
Sometimes support packages become corrupt and cannot complete installation or encounter errors that you cannot get past. In these scenarios, it is beneficial to either change your support package installation directory or perform a clean re-installation of your Support Package rather than a regular re-installation.
Please note that this process will remove all Support Packages you have installed. You will then need to reinstall any support packages you had previously. To change the location where Support Packages are installed for troubleshooting steps, follow the instructions from the link below.
How do I change the directory my support packages get installed in?
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.
4. Run the Support Package installer again and re-install your Support Package now.
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.
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.
댓글 수: 0
추가 답변 (1개)
Sylvain
2020년 10월 23일
Can you please provide details on how to do a clean re-install of a unique support package without deleting the other installed?
댓글 수: 1
Stefanie Schwarz
2024년 7월 24일
I believe this isn't possible because support packages aren't installed into separate folders and may use shared code. There are also dependencies between support packages that make this impossible
참고 항목
카테고리
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!