Activation is performed after you have successfully installed the software and are ready to use it. Normally, the installer continues to activation as part of the entire installation process. This topic describes the activation process. If you have not yet installed MATLAB®, first follow the procedure in Install Products Online (Installation, Licensing, and Activation).
There may also be cases when you are asked to activate the software that was not installed by you. If so, follow this procedure if you have an internet connection. If you do not, follow the instructions in Activate an Installation Offline (Installation, Licensing, and Activation).
To start the activation application, use one of the following methods:
Leave the Activate MATLAB check box selected on the Installation Complete dialog box at the end of installation.
Start an installation of MATLAB that has not been activated.
If you have MATLAB running, on the Home tab, in the Resources section, select Help > Licensing > Activate Software.
Navigate to your MATLAB installation folder and open the activation application.
Windows — Double-click the
activate_matlab.exe file in
matlabroot is your MATLAB installation folder, and
$ARCH is a platform-specific
subfolder, for example:
Linux and macOS — Execute the
activate_matlab.sh script in
macOS — Double-click the activation application icon in the MATLAB application package. To view the contents of the MATLAB application package, right-click (or Ctrl+click) the package and select Show Package Contents.
Activation is a process that verifies licensed use of MathWorks® products. This process validates the license and ensures that it is not used on more computers or by more users than allowed by the license option you have acquired.
If you let the installer start the activation application, and you were logged in to your MathWorks Account during installation, your login session continues into the activation process. Click Next to proceed with activation.
If you were not logged in to your MathWorks Account during installation, or you started the activation application independently, you must choose whether to activate automatically or manually. If you are connected to the Internet, leave the Activate automatically using the Internet (recommended) option selected. Activating immediately after installation is the quickest way to start using MATLAB.
If you are not connected to the Internet, select Activate manually without the Internet. If you select this option, you need a License File to activate manually. Your License File identifies the products you can run. Contact the Administrator of the license to get the file if you do not already have it.
On Windows systems, the activation application uses your system proxy settings by default.
If your Internet connection requires a proxy server, click the Connection Settings button. You can enter the server name and port information in the Proxy Settings dialog box, and access other activation options. MathWorks supports several types of proxy configurations: Basic authentication and Digest authentication.
If you continued with activation immediately after installation, and you logged in to your account during installation, the activation application skips this step.
Enter the email address and password of your MathWorks Account and click Next. The activation application contacts MathWorks to retrieve the licenses linked to your account. If you have enabled Two-Step Verification on your account, a verification code is sent to your primary method.
If you do not have a MathWorks Account, select the I need to create an Account (requires an Activation Key) option and click Next.
If you already have a License File, select the Enter the full path to your license file, including the file name option, specify the complete path to the file, and click Next. Your License File identifies the products you can run. Contact the administrator of your license to obtain this License File. After specifying the License File, the activation application skips all the subsequent steps in the process and goes directly to the Activation Complete dialog box.
To create an account, enter your email address, first name, last name, and password. You must also provide an Activation Key. A newly created account does not have any licenses linked to it. The Activation Key identifies the license you want to activate.
Entering dashes or spaces for the Activation Key is optional.
The administrator on the license can retrieve the key by visiting the License Center at the MathWorks website.
Click Next to create your account.
When you create a new MathWorks Account, you must verify your email address before you can proceed with activation. Before you click Next in the Email Verification Required dialog box, go to your email program, open the message from MathWorks, and click the verification link. Then return to this dialog box and click Next.
If you have Two-Step Verification enabled (in your MathWorks Account), you will be prompted to enter the verification code sent to your primary method when you signed in to your MathWorks Account. If you do not have Two-Step Verification enabled, you can skip this step and go to Step 5: Select the License (Installation, Licensing, and Activation).
If you continued with activation immediately after installation, and you verified your account during installation, the activation application skips this step.
Enter the verification code sent to your primary method.
If you continued with activation immediately after installation, the activation application assumes you want to activate the license you just installed and skips this step. Likewise, if you created an account in the previous step and specified an Activation Key, the activation application skips this step.
Select a license from the list of licenses linked with your MathWorks Account and click Next. The list contains the following information about the licenses:
If you want to activate products on a license that is not linked to your MathWorks Account, select the Enter an Activation Key for a license not listed option, enter an Activation Key, and click Next. An Activation Key is the unique code that identifies a license. You can use the key to activate a license or to link a license to your account. Ask the administrator of the license for the Activation Key.
Entering dashes or spaces for the Activation Key is optional.
The activation application skips this step when the license is a Designated Computer License.
If you selected an Individual License, you must specify the operating system user name of the person who will use the software. The Individual License limits use of the software to a particular user on a particular computer. MathWorks uses the operating system user name to identify this person. The operating system user name is the ID through which a user gains access to a computer. This ID is also known as the computer login name. To use MathWorks software, you must be logged into the computer as the user name that you specify.
By default, the activation application fills in the user name of the person running the activation application. To accept this default, click Next. If you used your administrator account to install the software but will use another account to access the software, you can specify that user name here, then click Next.
If all the information displayed is correct, click Confirm.
Depending on the method of installation that you use and your operating system, the confirmation information can vary from the example shown here.
To activate an installation, MathWorks creates a License File that:
Restricts use to only the computer with the installation
Restricts use to a particular user if you have activated an Individual License
The installer then copies this License File onto your computer. This License File enables you to run MathWorks products on your computer. MathWorks also keeps a record of the activation in MathWorks systems.
After activating your installation, click Finish to exit the activation process.
Now that MATLAB and any accompanying toolboxes have been installed, you are ready to begin using MathWorks software. See one of the following topics to get started: