Note: For information about installing MATLAB® noninteractively, see Install Noninteractively (Silent Installation).
To run the uninstaller noninteractively, perform these steps:
Make a copy of the uninstaller properties file template, named uninstaller_input.txt, 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 the 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 mode=automated, the uninstaller displays the Product Selection dialog box and pauses, waiting for you to adjust the product selection.
For example, click the Start button and select the Run option. In the Run dialog box, enter the uninstall command, specifying the full path of the properties file as a command-line argument:
uninstall.exe -inputFile C:\temp\my_uninstall.txt