Installation Guide for Windows | ![]() ![]() |
You can run the uninstaller noninteractively. In this mode, you create an uninstaller initialization file, specifying the root folder of the installation you want to remove and the products you want to remove.
To run the uninstaller noninteractively, perform these steps:
Create an uninstaller initialization file.
The MathWorks provides a template for this file, named uninstaller.ini, located in the uninstall folder in your MATLAB installation folder. Make a copy of this template file, giving it any name you want.
copy matlabroot\R2006b\uninstall\uninstaller.ini C:\temp\my_uninstall.ini
Open your copy of the initialization file, using any text editor, and enter all the required information. For example, use the directory parameter to specify the name of the root folder of the installation you want to remove.
directory=C:\Program Files\MATLAB\R2006b
In this initialization file, you can specify the name of the products you want to remove and other parameters. By default, the uninstaller removes all products. If your initialization file is missing a required parameter, the uninstaller stops and writes an error to the output log. Two optional parameters you might want to set are
Controlling visibility -- By default, when you run the uninstaller in silent mode, the uninstaller still displays the dialog box, even though no interactive response is required. If you want to suppress the display of this dialog box, set the value of the visible parameter to false.
visible=false
Requesting an output log -- To request that the uninstaller create an output log file that reports on the status of removing an installation, specify the full pathname as the value of the outlog parameter.
outlog=C:\temp\my_uninstall.log
Run the uninstaller (uninstall.exe), using the -if flag to specify the initialization 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 pathname of the initialization file as a command-line argument.
uninstall.exe -if C:\temp\my_uninstall.ini
In some installations, MATLAB requires a dongle. A dongle is a hardware-based security device that attaches to the USB port on your computer. It uses embedded codes and passwords to control access to software applications.
If your system uses dongles, the uninstaller asks if you want to delete the dongle drivers. If other applications you run on your system use dongles, do not delete these drivers. For more information, see Troubleshooting an Installation That Uses Dongles.
![]() | Removing (Uninstalling) an Installation | Troubleshooting | ![]() |
© 1984-2006 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments