MATLAB Installation Guide for Windows    

Running the Uninstaller Noninteractively

You can run the uninstaller noninteractively. In this mode, you create an uninstaller initialization file, specifying the root directory of the installation you want to remove and the specific products you want to remove.

To run the uninstaller noninteractively, perform these steps:

  1. Create an uninstaller initialization file.
  1. The MathWorks provides a template for this file, named uninstaller.ini, located in the uninstall subdirectory of your MATLAB installation directory. Make a copy of this template file, giving it any name you want.

  1. Edit your copy of the uninstaller initialization file, providing information for all the requested fields, using this syntax:
  1. For example, enter the installation directory as follows:

    The uninstaller initialization file template includes all the parameters you can enter, with examples.

  1. Save your changes to the file.
  2. Run the uninstaller (uninstall.exe), using the -if flag to specify the initialization file as a command line argument. For example, at the MS-DOS command prompt, enter
  1. You must specify the full pathname of the initialization file.


  Running the Uninstaller Saving Your MATLAB Preferences