MATLAB: How to use the silent uninstaller

MATLAB

I would like to run the uninstaller noninteractively. Is there a way to do this?

Best Answer

There is an option to uninstall MATLAB noninteractively on Windows. This file is self documented and can be found in the installation directory for MATLAB in the following location:
$MATLAB\uninstall\uninstaller_input.txt
Where $MATLAB is your MATLAB installation directory.
Information on this can also be found in our installation guides under Uninstalling Products on Windows Systems in the subheading Running the Uninstall Program Noninteractively:
NOTE: For R2008a and higher, you will be asked if you'd like to deactivate will when mode=automated. This portion is not automated since deactivation is separate from the uninstallation process. This option will not be presented when mode=silent.
For R2010a and older versions of MATLAB back to R13, the silent uninstaller is called uninstaller.ini. For R12, it is called silentuninstall.ini.