| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Installation |
| Contents | Index |
| On this page… |
|---|
Deactivating a license renders the MathWorks software unusable on a particular computer. Deactivation can be a useful way to manage usage of the software on multiple computers. For example, if you want to install and activate the software on a new computer, and you've already performed all the activations allowed by your license, you can deactivate one of your existing installations to enable activation on your new computer.
The deactivation process has two parts: the license must be deactivated on your computer and must also be deactivated in MathWorks systems. If you have Internet connectivity, the MathWorks deactivation application can take care of both parts of the process. If you do not have Internet connectivity, the deactivation application disables the software on your computer and gives you a deactivation string. To complete the deactivation process, you must visit the MathWorks Web site and enter the deactivation string. When you deactivate a license, you deactivate all the installations of that license on a particular computer.
Note Deactivating a license and removing the software are separate activities. You can deactivate a license without removing the software from your computer. 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 removing an installation, see Removing a MATLAB Installation. |
To deactivate a license on your computer, follow this procedure:
Start the deactivation application. Navigate to the matlabroot/bin folder and run the deactivate_matlab.sh script, where matlabroot represents your MATLAB installation folder.
cd matlabroot/bin ./deactivate_matlab.sh
You can also deactivate a MATLAB installation by selecting Help > Licensing > Deactivate Software on the MATLAB desktop.
Select the license that you want to deactivate and click Deactivate.
When the deactivation application starts, it displays the licenses you currently have installed and activated on your system. If you start this from within MATLAB, the license you are using is preselected.

If your Internet connection requires a proxy server, click the Connection Settings button and enter the server name and port information. Click OK to return to the MathWorks Software Deactivation dialog box.

Confirm the deactivation and click Yes.

If the deactivation application can deactivate the license on your computer and in MathWorks systems, it displays the Deactivation Complete dialog box. Click OK to return to the MathWorks Software Deactivation dialog box, where you can choose to deactivate other licenses.

If the deactivation application can deactivate the license on your computer but not in MathWorks systems, it displays the Deactivation Next Steps dialog box. This dialog box contains the deactivation string. To complete deactivation, you must go to the MathWorks Web site, log in to your account, and enter the deactivation string. See the License Center help for more information. Click OK to return to the MathWorks Software Deactivation dialog box.

Select another license to deactivate and click Deactivate, and repeat the deactivation procedure. After you deactivate a license, the MathWorks Software Deactivation dialog box displays an additional column listing the status of the license. If you do not want to deactivate another license, click Close to exit the deactivation application.

Note Removing the software and deactivating a license are separate activities. You can deactivate a license without removing the software from your computer. 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 Deactivating a License. |
To remove a MATLAB installation from your computer, enter this command
rm -rf matlabroot
where matlabroot represents the name of your top-level MATLAB installation folder. Make sure to exit the MATLAB program and stop the license manager before removing a MATLAB installation. You can use the lmdown command to stop the license manager. You can find lmdown, and other license management utilities, in the matlabroot/etc folder.
![]() | After You Install | System Requirements | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |