Flexlm License File Format
MATLAB Installation

When you install MATLAB® software, the installer performs the following processing of the network license file:

On the server, the installer:
Makes a copy of the network license file named
license.dat, and puts this copy in theetcfolder of the MATLAB installation folder.Adds a
SERVERline and aDAEMONline to the file. TheSERVERline identifies the server host and port number. TheDAEMONline identifies the name of the network license manager daemon.Stores the processed license file in
matlabroot/etc, wherematlabrootis the MATLAB installation folder.When it creates an options file during installation, it also adds the
Options=syntax to theDAEMONline in your license file. This syntax specifies the path name of the options file.For example, if your server is named
thunderballand its IP address is 144.212.111.103, theSERVERandDAEMONlines in your license file would look like this:
On the client machine, the installer:
Creates a copy of the license file you specify named
network.lic, and puts the file in thelicensesfolder in the MATLAB client installation folder.Deletes all the
INCREMENTlines and theDAEMONline in the license file, leaving theSERVERline. It also adds the statementUSE_SERVERto the file. This line points the client to the network license file on the server, which contains all the passcodes for the products.
- B.3 License File Order The order of the lines in a license file is not critical. They are sorted when they are processed so that in most cases the optimal result is achieved. However, pre-v7.0 versions of FLEXlm licensed applications and license servers implicitly impose an ordering to license file lines.
- The FlexLM License Manager Daemon (lmgrd) interprets the license file to dispatch license requests to different license vendor daemons. This document is a short account of the format and syntax of the license file, and its effect on licensed applications’ utilization.
Example Of File Format
Chapter 2 The License File. Set LMLICENSEFILE to `port@host', where host and port come from the SERVER line in the license file. Starting with FLEXlm v6. 2.2 License File Format. License files usually begin with a SERVER line (or three lines for redundant servers) followed by one or more DAEMON lines, followed by one or more FEATURE.