Documentation Center

  • Trial Software
  • Product Updates

Uninstall Noninteractively

To run the uninstaller noninteractively, perform these steps:

  1. Create an uninstaller properties file.

    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
  2. 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.

  3. Save your changes to the file.

  4. Run the uninstaller (uninstall.exe), using the -inputFile flag to specify the properties file as a command-line argument.

    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
Was this topic helpful?