For information about installing MATLAB® noninteractively, see Install Noninteractively (Silent Installation).
To run the uninstaller noninteractively, perform these steps:
Create an uninstaller properties file.
Make a copy of the uninstaller properties file template, named
located in the
uninstall folder in your MATLAB installation
folder. For example, on a Windows system, you might execute this command:
copy matlabroot\uninstall\uninstaller_input.txt C:\temp\my_uninstall.txt
Open your uninstaller properties file
using any text editor, and enter values for all the specified parameters.
For example, you can specify the name of the output log file using
outputFile= parameter. The template contains
detailed descriptions of each parameter with examples.
By default, the uninstaller removes all the products in a particular MATLAB installation,
however, you can specify which products to delete. In the product
list in the template, remove the comment character at the beginning
of the product name. In silent mode, if you specify a product for
deletion that is not one of your installed products, the uninstaller
exits and writes a message to your log file. If you specified
the uninstaller displays the Product Selection dialog box and pauses,
waiting for you to adjust the product selection.
Save your changes to the file.
Run the uninstaller (
-inputFile flag to specify the properties
file as a command-line argument.
For example, click Start and select the Run option.
In the Run dialog box, enter the
specifying the full path of the properties file as a command-line
uninstall.exe -inputFile C:\temp\my_uninstall.txt