How do I uninstall MathWorks Products on Windows when the uninstaller fails?
804 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 16 Août 2010
Modifié(e) : MathWorks Support Team
le 5 Jan 2024
I could not uninstall MATLAB. How do I uninstall MATLAB completely from my computer?
Réponse acceptée
MathWorks Support Team
le 5 Jan 2024
Modifié(e) : MathWorks Support Team
le 5 Jan 2024
If the MATLAB or other MathWorks Products uninstaller was unable to complete, try running the uninstaller located in the MATLAB installation folder. Here are the default uninstaller locations by release:
R2023b and earlier:
C:\Program Files\MATLAB\R20XXx\uninstall\bin\win64\uninstall.exe
Since R2024a:
C:\Program Files\MATLAB\R20XXx\bin\win64\MathWorksProductUninstaller.exe
If you are unable to complete the uninstaller, you can manually delete the MATLAB installation folder.
Afterwards, you can remove the MATLAB entries from the Windows System Path. For help modifying the Path in Windows, see the related article:
How do I set my system path under Windows?
If you are encountering DLL-related errors, it is possible a DLL has been replaced by Microsoft Visual Studio, another program, or malicious software. Because of this corruption, the uninstaller will not work and the files must be deleted manually.
0 commentaires
Plus de réponses (1)
Vladimir Sovkov
le 3 Déc 2021
I have a similar but somewhat different problem. For a couple of years, I used Matlab 2019b with Windows 10. This year I decided to switch to the newer version Matlab 2021b. After installing and testing it, I decided to remove the older one using the standard Windows tools. However, it reproted that it could not do it because it could not find "uninstall.exe". Indeed, I did not find it in the installation folders of Matlab 2019b as well (meanwhile, "uninstall.exe" exists in the installation folders of Matlab 2021b...). Are there any ideas of where it could go? Is there a way to restore "uninstall.exe" and uninstall the older version in a regular way? Or, can it only be removed manually as described in those answers above? Would not it harm the new version somehow?
1 commentaire
Vladimir Sovkov
le 12 Fév 2022
Unfortunately, I was not. Two installations of Matlab still coexist in my system.
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!