Choose an Option to Activate Your License

The MATLAB® Production Server™ reference architecture and MATLAB Production Server (BYOL) is configured to use the network license manager by default. The license manager is automatically installed on a virtual machine in the cloud. From the following scenarios, select a procedure for activating your license:

ScenarioProcedure

You need to activate a license or trial that has never been activated before.

Activate a License for the First Time

Your MATLAB Production Server license has been previously activated in another location, on-premise, or in the cloud.

Move a License That Has Been Previously Activated

If you have an activation scenario that is not listed here, contact MathWorks Cloud Support.

Activate a License for the First Time

Follow this procedure to activate a license or trial that has never been activated before.

Deploy MATLAB Production Server in the Cloud

Deploy MATLAB Production Server in the cloud using the reference architectures or the MATLAB Production Server (BYOL) offering on Azure® marketplace. To use the license manager in the cloud, you must provide a fixed MAC address when you activate the license. You can get a MAC address to the virtual machine hosting the license server only after the deployment is complete.

Activate License

  1. Sign in to your MathWorks Account, and select the MATLAB Production Server license.

  2. Go to Install and Activate.

  3. Click Activate to Retrieve License File.

  4. In the Host ID field, enter the fixed MAC address of the network license manager.

    For R2019b and earlier releases, you can get the MAC address from the MATLAB Production Server cloud console. In the cloud console, click Administration > License.

    Starting in R2020a, you can get the MAC address of the network license manager from the Network License Manager for MATLAB dashboard. In the dashboard, click Administration > Manage License.

    Note

    When you delete the cloud resources, you also delete the fixed MAC address. For hosting the license manager in the cloud, you must have a fixed address:

    • Azure: When you create a virtual network, the virtual network MAC address is retained even when the virtual machine is in the deallocated state.

    • AWS: Use an Elastic Network Interface (ENI), which contains a (non-changeable) static MAC address attribute.

    Changing the fixed MAC address in MathWorks License Center is limited to 4 times per year.

  5. Finish all fields, and click Continue to finish activation.

Upload License

For R2019b and earlier, you need to upload the license file you get from the activation process to the MATLAB Production Server cloud console. To upload a license file through the cloud console:

  1. From the cloud console menu, select Administration > License.

  2. Click Browse License File and select a file.

  3. Click Upload.

Starting in R2020a, you need to upload the license file you get from the activation process to the Network License Manager for MATLAB dashboard. To upload a license file through the dashboard:

  1. On the dashboard menu, select Administration > Manage License.

  2. Click Browse License File and select a file.

  3. Click Upload.

Move a License That Has Been Previously Activated

Follow this procedure to activate a license that has been previously activated in another location.

Shut Down the Current License Server

PlatformProcedure
Windows®
  1. In your current LMtools.exe, navigate to the Start/Stop/Reread tab and choose Stop Server.

  2. Navigate to the Config Services tab and choose Remove Service.

  3. Close out of the current LMtools.exe.

Linux®
  1. Run lmdown.

  2. Delete the existing network license manager by deleting the entire folder where you previously placed the license manager binaries.

Deactivate Existing License

  1. Sign in to your MathWorks Account, and select the existing MATLAB Production Server license.

  2. Go to Install and Activate.

  3. Find your activated license, and click X icon to deactivate your license.

  4. Click Deactivate on the next screen to complete the process.

Activate License

Activate the license as described in Activate a License for the First Time.

Related Topics