The method you use to remove MathWorks® software from your computer varies, depending on your platform.
Deactivating a license and removing the software are separate activities. You can deactivate a license without removing the software from your computer. For information about deactivating software, see Deactivate an Installation.
To remove (uninstall) MathWorks products from your system:
Shut down the MATLAB® software.
Start the uninstaller, using any of the following methods.
On systems running Windows® 10, go to Start > All apps > MATLAB R2016b. Right-click MATLAB R2016b, and click Uninstall.
On systems running Windows 8, from the Start screen, search for Control Panel. In the Control Panel, select Uninstall a Program in the Programs category. From the list of products displayed, click MATLAB R2016b.
On systems running Windows 7, click the Start menu, and select Control Panel. In the Control Panel, select Uninstall a Program in the Programs category. From the list of products displayed, click MATLAB R2016b.
On systems running Windows XP, click the Start menu, select Settings > Control Panel > Add or Remove Programs. Select MATLAB R2016b from the list of products and click Change/Remove.
Navigate to the
matlabroot is your MATLAB installation
$ARCH is a platform-specific subfolder,
win64. Double-click the uninstaller executable,
To learn how to use an uninstaller properties file to run the uninstaller noninteractively, see Uninstall Noninteractively.
In the Uninstall Products dialog box, select the products you want to remove and click Uninstall.
If you select MATLAB, you automatically remove all other MathWorks products.
You might receive a message telling you that the product you want to uninstall has other products that depend on it. For example, most MathWorks products require the MATLAB product. To close the message and continue removing products, click OK. To change the products you had selected for deletion, click Cancel.
If you also want to remove your MATLAB user preferences,
click the Uninstall MATLAB preference files (including Command
History) check box. By default, the uninstaller does not
delete these preference files. MATLAB preference files contain your environment settings, such as command history and
Help favorites. To find where MATLAB stores your preferences,
prefdir command at the MATLAB prompt,
as in the following example:
prefdir ans = C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R2016b
user name of the person who runs MATLAB.
(Optional) Choose whether to delete download archive
files. If your MATLAB installation folder contains the archive
files for downloaded products, the uninstaller displays a message
asking if you want to delete these archive files. The installer stores
these archive files in the
of your installation. To remove these files, click Yes.
To proceed with the removal, click the Uninstall button. The uninstaller displays the status of the operation as it progresses and displays a dialog box when the operation is complete. Click Finish to exit the uninstaller. When you uninstall a MATLAB installation, the uninstaller displays a dialog box suggesting that you deactivate the installation. For more information about deactivation, see Deactivate an Installation.
If you want to deactivate a license and remove the software, be sure to deactivate before you remove the software. When you remove the software, you also remove the application you use to deactivate the software. For more information about deactivating, see Deactivate an Installation.
Exit the MATLAB program.
Enter this command at the Linux prompt:
rm -rf matlabroot
the name of your top-level MATLAB installation folder.
When you remove a MATLAB installation, you remove the deactivation application, so it is best to deactivate before removing your installation. For more information about deactivating software, see Deactivate an Installation.
To remove a MATLAB installation:
Get the user name and password of an administrator account on the Mac OS X system. Depending on where you installed MATLAB software, you might need administrator privileges to remove it.
Exit MATLAB before removing a MATLAB installation.
Navigate to your MATLAB installation folder.
For example, the installation folder might be named
Drag your MATLAB installation folder to the trash, and then select Empty Trash from the Finder menu.