Removing (Uninstalling) an Installation

To remove MathWorks products from your system, use the MathWorks uninstaller program (uninstall.exe). This section describes

Using the Uninstaller

To remove MathWorks products from your system, follow this procedure:

  1. Shut down MATLAB before trying to uninstall it.

  2. Start the uninstaller.

    Click the Start button, select Programs, and move the cursor over the MATLAB entry. On the application menu that appears, click the entry for the uninstaller.

    Alternatively, you can remove an installation using the Windows Add/Remove Programs control panel. Select MATLAB R2006bfrom the list of products.

    Whatever method you use, when it starts, the uninstaller displays the Uninstall Product List dialog box.

  3. Select the products you want to remove by selecting the check box next to their names. If you select MATLAB, you automatically remove all other MathWorks products as well.

  4. (Optional) Specify whether you want to remove your MATLAB preferences file.

    The MathWorks stores your MATLAB environment preferences, such as command history and Help favorites, in a set of preference files. These preference files are stored in a system folder that is associated with a particular user. To find where your preferences are located, use the prefdir command at the MATLAB prompt, as in the following example.

    prefdir
    ans =
    C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R2006b
    

    where username is the username of the person performing the uninstall.

    By default, the uninstaller does not delete these preference files. If you want to remove these files, select the Uninstall MATLAB preferences check box. When you make this selection, the uninstaller deletes the contents of your MATLAB preferences folder.

  5. To proceed with the removal, click the Uninstall button.

    The uninstaller leaves the MATLAB installation folder on your system, empty except for the \uninstall folder, the \work folder if it contains files, and, if you downloaded product updates, an \archives folder that contains the download archive files. To completely remove a MATLAB installation, you must delete these folders yourself. You might want to move any M-files you created in the \work folder to another folder before deleting it.


© 1984-2006 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments