Main Content

Deactivate Your Installation

Deactivating an installation renders 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 have already performed all the activations allowed by your license, you can deactivate one of your existing installations to enable activation on the 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 adeactivation string. To complete the deactivation process, go to the MathWorks website, log in to your account, and deactivate using 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. For information about removing an installation, seeUninstall MathWorks Products.

To deactivate a license on your computer:

  1. 启动应用使用任何的失活e following methods.

    • Choose to start deactivation after running the uninstaller.

    • Choose to start deactivation after a validation check that finds the installation is inactive.

    • Choose the deactivate option from theHelp>Licensingmenu in the MATLAB®desktop.

    • On computers running Windows®10, go toMATLABR2022aand open the folder. Right-click on MATLAB inside the folder, and selectDeactivate.

    • On computers runningWindows 7, click theStartmenu and selectMATLAB. The deactivation application should appear on the list.

    • On all platforms, navigate to the MATLAB installation folder and start the deactivation application executable.

      Windows Systems
      matlabroot\uninstall\bin\win64\deactivate_matlab.exe

      Linux®Systems:
      matlabroot/bin/deactivate_matlab.sh

      macOSSystems:
      /Applications/MATLAB_R2022a.app/bin/deactivate_matlab.sh

  2. Select the license that you want to deactivate and clickDeactivate.

    When the deactivation application starts, it displays the licenses you currently have installed and activated on your computer. If you start the application from within MATLAB, the license you are using is preselected.

  3. Confirm deactivation. ClickYesand the deactivation application attempts to contact MathWorks.

  4. Complete deactivation. ClickOK.

    If the deactivation application can deactivate the license on your computer and at MathWorks, it displays the Deactivation Complete dialog box. ClickOKto 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, go to the MathWorks website and log in to your account. In theLicense Center, deactivate the license using the deactivation string. ClickOKto return to the MathWorks Software Deactivation dialog box.

  5. After you deactivate a license, the MathWorks Software Deactivation dialog box displays an additional column listing the status of the licenses. To deactivate another license, select it from the list and clickDeactivate. If you are finished, clickCloseto exit the deactivation application.

The software is now deactivated on this computer.

Related Topics