Clear Filters
Clear Filters

How do I manually configure my network license file for the Network License Manager?

89 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 May 2024 at 0:00
The Network License Manager requires a configured license file in order to run. The license.lic file that is downloaded from MathWorks is not sufficient to run the Network License Manager. This "configuration" is adding in SERVER and DAEMON lines to the top of the license file, and converting the file from .lic to .dat. If you install the license manager using the graphical MATLAB installer, the installer will configure the license file for you. However, if you are installing and configuring the Network License Manager manually, you will also need to configure the license file yourself. 
To add the SERVER and DAEMON lines manually, see the following examples:
 
Linux & Mac OS X:
SERVER $Hostname $HostID 27000
DAEMON MLM {$MATLAB}/etc/glnxa64/MLM
Windows:
SERVER $Hostname $HostID 27000
DAEMON MLM "$MATLAB\etc\win64\mlm.exe"
$Hostname is the hostname of the license server. 
$HostID is the HostID of the license server.
$MATLAB is the root MATLAB directory on your license server. 
The SERVER and DAEMON lines should be added at the top of the license file. Then, the file should be saved as license.dat. You can then use this newly saved file with the Network License Manager. 

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!