MATLAB Installation Guide for PC | ![]() ![]() |
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.
# BEGIN-------cut here-------CUT HERE-------BEGIN # MATLAB license passcode file for use with FLEXlm. # LicenseNo: 12345 HostID: ID=12345 INCREMENT TMW_Archive MLM 13 01-jan-0000 0 9CCC47GGF7CCC3B4A810 \ VENDOR_STRING="f" HOSTID=DEMO SN=12345 INCREMENT MATLAB MLM 13 01-jan-0000 1 BCECD70ADGG6B87E9917 \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT SIMULINK MLM 13 01-jan-0000 1 2C5C275GGF38B8EAD8FD \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Control_Toolbox MLM 13 01-jan-0000 1 \ 7CACA7AA23GG5C5E38C1 USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Identification_Toolbox MLM 13 01-jan-0000 1 \ EC5C175A4DGG522AD73A USER_BASED DUP_GROUP=UH SN=12345 # END---------cut here-------CUT HERE-------END
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 your_server ID=12345 27000 DAEMON MLM C:\MATLAB6p5\flexlm\mlm.exe \ options=C:\MATLAB6p5\flexlm\MLM.opt # BEGIN-------cut here-------CUT HERE-------BEGIN # MATLAB license passcode file for use with FLEXlm. # LicenseNo: 12345 HostID: ID=12345 INCREMENT TMW_Archive MLM 13 01-jan-0000 0 9CCC470AF7CCC3B4A810 \ VENDOR_STRING="f" HOSTID=DEMO SN=12345 INCREMENT MATLAB MLM 13 01-jan-0000 1 BCECD70AD686B87E9917 \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT SIMULINK MLM 13 01-jan-0000 1 2C5C275AFF38B8EAD8FD \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Control_Toolbox MLM 13 01-jan-0000 1 \ 7CACA7AA23C85C5E38C1 USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Identification_Toolbox MLM 13 01-jan-0000 1 \ EC5C175A4D02522AD73A USER_BASED DUP_GROUP=UH SN=12345 # END---------cut here-------CUT HERE-------END
The SERVER
line identifies the system on which the license manager is running, using the format
Note
The HostID in the SERVER line must match the HostID in the commented section of the License File.
|
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.
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 user-based 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 | ![]() |