MATLAB Installation Guide for Windows    

License File

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

The license manager uses the License File to determine how many keys are available for each licensed product. MATLAB client installations use the License File to determine how to connect to the license server.

The following is a sample 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.)

License File Processing on a License Server

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 server and daemon. After processing the file, the installer puts a copy of the License File in the $MATLAB\flexlm directory.

In this sample processed License File, note the addition of the SERVER and DAEMON lines.

SERVER Line   The SERVER line identifies the system on which the license manager is running, using the format

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.

DAEMON Line   The DAEMON line identifies the MathWorks vendor daemon, MLM, the fully specified path to the daemon executable, and the full path of the options file, for Named User licenses.

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 and the DAEMON line in the License File and replaces them with a single line: USE_SERVER.

On client systems, the installer puts the processed License File (license.dat) in the $MATLAB\bin\win32 directory.

If you use your original License File instead of the processed License File, the installer proceeds with the installation, creating a template License File in $MATLAB\bin\win32. You cannot run MATLAB until you edit this License File, adding the SERVER line from the processed License File.


  License Management Daemons Important License Management Files