MATLAB Installation Guide for PC    

License File

When you purchase MATLAB or other products, the MathWorks sends you the licensing information you need to be able to run the products in a concurrent configuration. You must create a License File on your hard disk that contains this information, named license.dat. You can create this file in any directory on your system. For more information about creating a License File, see Creating Your License File.

Both the client applications and the daemons use the License File. The daemons use it to determine how many keys are available for each licensed product. The clients use the License File to get the Host ID of the license server.

The following is a sample of a License File sent by The MathWorks.

License Files contain one or more INCREMENT lines that itemize the products you are licensed to use. Each INCREMENT line has this format. (The INCREMENT lines in your License File may not include every element.)

Understanding License File Processing

When you install the license manager as part of a concurrent installation, the installer processes your License File, adding information about the location of the license manager server and daemon. After processing the file, the installer puts a copy of the License File in the $MATLAB\flexlm directory.

The following is a sample of a processed License File. Note the addition of the SERVER and DAEMON lines.

The SERVER line identifies the license manager daemon, using the format

Note that the HostID in the SERVER line must match the HostID in the commented section of the License File.

In the example above, the host name is smithj, the Host ID is 00600835a7ac, and the port number is 27000. The TCP port number identifies the port to use for communication with the daemons. Do not change this number unless you know it conflicts with other software. You can use any port number; however, to run the daemons from a nonroot account, the port number must be greater than 1024.

The DAEMON line defines the mapping of the MathWorks vendor daemon symbol, MLM, with the fully specified path to the daemon executable.

License File Processing on Client Systems

In client installations in concurrent configurations, you specify the name of the processed License File in the License File Path dialog box during the installation procedure. The installer deletes all the INCREMENT lines in the License File and replaces them with a single line: USE_SERVER.

After a MATLAB client installation is complete, the installer puts the processed License File (license.dat) in the $MATLAB\bin\win32 directory.


 The License Management Daemons Running MATLAB with Other FLEXlm Applications