Main Content

Configure License for MathWorks Containers

To run MATLAB® inside a container, you must have a valid license for the MATLAB version installed in the container. Valid licenses for any other products in the container are required to access the full functionality of the container.

To check the products you are licensed for, visit your MathWorks Account. Click your license number and then select the Manage Products tab to view a list of licensed products.

The license configuration process depends on whether your license is administered via MathWorks online licensing or via a network license manager. Contact your license administrator to find out your licensing method. To find out your license administrator, sign in to your MathWorks Account, choose the license you are using, then select the Contact Administrator(s) tab.

Online Licensing

To use online licensing with a MathWorks® container, you must have a license for MATLAB and the other products in the container associated to your MathWorks Account. Your license must be current on MathWorks Software Maintenance Service.

From the following table, select an option for setting up your license for the container based on your license type. If you are not sure what license type you have, visit your MathWorks Account to see the licenses that you are associated to.

License TypeConfiguration

Individual (a license that only you use that is in your name; not a Home or Student license)

Your license is already configured for use with MathWorks containers.

Total Academic Headcount (a license that you use that belongs to your academic institution)

Your license is already configured for use with MathWorks containers.

Home and Student (that only you use and is in your name)

These license types are not eligible to use MathWorks containers

All other license typesContact your license administrator.*

*Not sure who the license administrator is? Sign in to your MathWorks Account, choose the license you are using, then select the Contact Administrator(s) tab.

If your administrator has questions, have them contact MathWorks Cloud Support.

When you start MATLAB in the container, you are prompted to log in to your MathWorks account. Your license is automatically recognized from your MathWorks account.

Network License Manager

If you have a concurrent license administrated via a network license manager, you can use this license with MathWorks containers.

You might need to contact your license administrator to ensure that your license is configured for cloud use. To find out who your license administrator is, sign in to your MathWorks Account, choose the license you want to use, then select the Contact Administrator(s) tab. If your administrator has questions, have them contact MathWorks Cloud Support.

To use your network license with a MathWorks container, supply the location of the network license manager when you run the container. Add an option of the following form to the docker run command you use to start the container. Replace the license server address 27000@MyLicenseServer with the correct port number and DNS address for your network license manager.

-e MLM_LICENSE_FILE=27000@MyLicenseServer

Related Topics