Main Content

Network Named User License Administration

Network Named User Licensing

A Network Named User license authorizes a specified number of Named Users to install and run MathWorks® products over a network, administered under a single license. The list of authorized users must be specified by their MathWorks user name. A Network Named User license can include multiple products, each with the same or different licensed user count. This type of license requires a license server.

As the Administrator of a Network Named User license, you have two primary goals:

Set Up Named User Licensing

How to Specify Authorized Users

With Network Named User licenses, MathWorks uses an options file for the network license manager to identify the specific Named Users to whom you have assigned right-to-use privileges. The options file is a text file that contains option statements. An option statement begins with a keyword that identifies the option, such as RESERVE, INCLUDE, EXCLUDE, GROUP, or HOST_GROUP.

Note

Do not confuse your license file with your network license manager options file. The license file contains the encrypted passcodes for each product you are licensed to install and run. The network license manager options file is a text file that contains license manager option statements.

If you have a Network Named User license, after you install your products, you might need to:

For more detailed information about creating network license manager options files, see the License Administration Guide, available in PDF form in matlabroot/etc/LicenseAdministration.pdf, where matlabroot represents your installation folder. This file is available only after you have installed the network license manager.

Check the Options File

As part of the installation process, the MathWorks installer creates a network license manager options template file, named MLM.opt, in the etc subfolder of your top-level MATLAB® installation folder. In this options template, the installer puts an INCLUDE line for each product you are licensed to install and run. By default, the installer puts the user name of the person who performed the installation in these INCLUDE lines. If you performed your own installation, the options file might not need editing. However, if you performed the installation for another user, or if your license server is installed on Linux® and you had root privileges when you performed the installation, you will need to edit this options template.

For example, if your user name is sysadmin, the options file would look like this.

INCLUDE MATLAB USER sysadmin
INCLUDE Signal_Toolbox USER sysadmin
INCLUDE Optimization_Toolbox USER sysadmin

You must replace sysadmin in these INCLUDE statements with the user names of the licensed users. Because the installer includes the GROUPCASEINSENSITIVE option in the options file and sets it to ON, login names are not case sensitive. If multiple users are licensed for the same product, you must create a separate INCLUDE line for each user or collect the users into a group, using the GROUP syntax, and specify the name of the group in an INCLUDE line. The number of users must not exceed the number of license keys available for that product. This example shows both methods.

Note

If you edit the options file, make certain that there are no extra space characters at the end of each INCLUDE line.

GROUPCASEINSENSITIVE ON
GROUP matlab_users tom judy mike jean brad
GROUP signal_users tom mike brad
INCLUDE MATLAB GROUP matlab_users
INCLUDE Signal_Toolbox GROUP signal_users
INCLUDE Optimization_Toolbox USER mike
INCLUDE Optimization_Toolbox USER jean

Make Sure Your DAEMON Line Includes Your Options File

When the installer creates an options file during installation, it also adds the Options= syntax to the DAEMON line in your license file. This syntax specifies the pathname of the options file.

For example, if your server is named thunderball and its mac address is 03:42:f8:1b:b2:72, the SERVER and DAEMON lines in your license file would look like this:

SERVER thunderball 03:42:f8:1b:b2:71
DAEMON MLM "C:\Program Files\MATLAB\R2024b\etc\win64\MLM.exe" \
            options="C:\Program Files\MATLAB\R2024b\etc\mlm.opt"

Related Topics

External Websites