MATLAB Answers

Can't uninstall matlab 2020a/2020b

조회 수: 132(최근 30일)
  댓글 수: 1
Walter Roberson
Walter Roberson 20 Feb 2021
The easiest known way to deal with that message is to reinstall MATLAB and the Aerospace Blockset. That should fix the files so that you can remove MATLAB.

댓글을 달려면 로그인하십시오.

채택된 답변

Deepak Meena
Deepak Meena 23 Feb 2021
편집: Deepak Meena 23 Feb 2021
Hi Zhimei,
It's not clear to me whether you want to install the matlab completly or want to uninstall partilcular toolbox , so I am going to provide solutions for both scenarios:
Trying to uninstall the MATLAB completly
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.
Unintalling a Particular toolbox :
Refer to this link Uninstalling a toolbox
  댓글 수: 1
Walter Roberson
Walter Roberson 23 Feb 2021
There are two reasons to not just start by deleting the directory and skipping the Uninstaller on Windows
  1. Uninstaller cleans up the registry
  2. Uninstaller cleans up the directory that MATLAB stores a copy of the installation file into in order to make toolbox installation and removal faster
However the Uninstaller does not remove the directory that Add-ons were downloaded into (or at least not if any other versions are still installed)
I do not know the locations of these two additional directories in Windows. For Mac they would be under ~/Downloads/Mathworks/R20xxx and ~/Library somewhere

댓글을 달려면 로그인하십시오.

추가 답변(0개)


Community Treasure Hunt

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

Start Hunting!

Translated by