MATLAB Answers

How do I uninstall MATLAB on Windows when the uninstaller fails?

1.357 views (last 30 days)
I could not uninstall MATLAB. How do I uninstall MATLAB completely from my computer?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Oct 2020
Edited: MathWorks Support Team on 5 Mar 2021
If the MATLAB uninstaller was unable to complete, try executing the uninstall.exe from $MATLAB\uninstall (where $MATLAB is the folder where MATLAB is installed). For example:
C:\Program Files\MATLAB\R2014a\uninstall\bin\win64
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

More Answers (2)

Bruce
Bruce on 29 Jul 2020
And how to we "safely" remove all of the drek that gets added to the registry if we have to resort to the "delete the matlab folder" option of blowing away a version of matlab that can't be installed "cleanly"
  1 Comment
Colin Fraser
Colin Fraser on 30 Jul 2020
I'm pretty sure MATLAB adds nothing to the registry other than borrowed license keys. That has it's own set of troubleshooting.
-Colin Fraser

Sign in to comment.


Bruce
Bruce on 30 Jul 2020
They don't add much, but there were about 50 entries in the registry that reference either matlab or mathworks. I don't think many of them are "important" enough to affect performace, but bloat is bloat.
  1 Comment
Fatah Chetouane
Fatah Chetouane on 20 Mar 2021 at 14:30
Yes indeed, a bloat is a bloat, I was trying to uninstall R2019b, what a hassle !!! nothing in the "help" or "support" did help. I right-clicked on the MATLAB folder under program files, selected properties, uncheck the read only button, wait until it finishes to update the selection. I deleted all folders in MATLAB, one by one (what a hassle !!!!), I made sure all is gone ...a rather primitive approach (a bloat), I used CCLEANER registry clean to wipe all the registry keys, I installed a new version R2020a, selected only the minimum required toolboxes, and all done. It's was a day worth of work of my time, it's disappointing to see the software growing on you and busting all your GB space...maybe it will replace Windows or your OS in the near future !!

Sign in to comment.

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!

Translated by