MATLAB Answers

How do I uninstall or reinstall MATLAB on a Windows computer?

2,167 views (last 30 days)
I would like to know how to uninstall or reinstall MATLAB on a computer running Microsoft Windows.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Feb 2019
Edited: MathWorks Support Team on 25 Feb 2019
The following instructions explain how to uninstall and then reinstall MATLAB on Windows:
NOTE: If you have saved any personal files within your MATLAB directory, be sure to place those files elsewhere before uninstalling MATLAB.
1. Stop the network license manager as described below. If you are uninstalling a standalone installation, skip to step #2.
a. Open lmtools.exe, which is located in $MATLAB\etc\win{32|64} ($MATLAB\flexlm for releases prior to 2010b).
b. Click on the 'Start/Stop/Reread' tab.
c. Click the 'Stop Server' Button
2. Run uninstall.exe from the $MATLAB\uninstall directory to uninstall MATLAB.
3. The uninstaller may leave files behind. To make sure everything has been deleted, go to the directory where MATLAB and the network license manager were installed and delete the entire folder.
4. If MATLAB cannot be uninstalled using the uninstaller or by removing MATLAB with the Windows Add/Remove Programs tool, you can simply delete the MATLAB directory and all of its contents.
5. Reboot the machine.
6. Reinstall MATLAB in a new/fresh directory. Make sure that no applications are running when you install.
NOTE: This is the procedure you should follow if you have a Prerelease of MATLAB installed and would like to start using the full release of the new version.
For information on uninstalling MATLAB on a Mac or UNIX/Linux machine, see the Related Solutions listed below.

More Answers (4)

Jens W.
Jens W. on 21 Jan 2020
Dear MathWorks Support Team,
when I installed MATLAB in a prior version of Windows 10 and do the Update to Windows 10 Version 1909 I am not able to uninstall MATLAB because the uninstaller of MATLAB simply closes without any information or message on the uninstall process.
This behavior is reproducible.
Please give me some information how I can uninstall MATLAB clean without using the non working installer.

Sotiris Tsatsos
Sotiris Tsatsos on 21 Nov 2020
I have the follwing issue when i try to uninstall Matlab. Any ideas??


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!