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.
# BEGIN-------cut here-------CUT HERE-------BEGIN # MATLAB license passcode file for use with FLEXlm. # LicenseNo: 12345 HostID: INTERNET=144.212.101.43 INCREMENT TMW_Archive MLM 13 01-jan-0000 0 6CEC6A6E25GGC7B0A410 \ VENDOR_STRING="f" HOSTID=DEMO SN=12345 INCREMENT MATLAB MLM 13 01-jan-0000 5 9C7C2DABE9409CEF91AA \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT SIMULINK MLM 13 01-jan-0000 5 4C9DC9C9EF56527BE548 \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Control_Toolbox MLM 13 01-jan-0000 5 \ FC7C9BADEF4F6E6CDA3A USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Identification_Toolbox MLM 13 01-jan-0000 5 \ 4C8C1AB7E3F111D08982 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 yourserver INTERNET=144.212.101.43 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: INTERNET=144.212.101.43 INCREMENT TMW_Archive MLM 13 01-jan-0000 0 6CEC6AD6E25FC7B0A410 \ VENDOR_STRING="f" HOSTID=DEMO SN=12345 INCREMENT MATLAB MLM 13 01-jan-0000 5 9C7C2A6ED409CEF91AA \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT SIMULINK MLM 13 01-jan-0000 5 4C9CDA9EF565B7BE548 \ USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Control_Toolbox MLM 13 01-jan-0000 5 \ FC7C9BDEF4F6E6CDA3A USER_BASED DUP_GROUP=UH SN=12345 INCREMENT Identification_Toolbox MLM 13 01-jan-0000 5 \ 4C8B1AD7E3F111E08982 USER_BASED DUP_GROUP=UH SN=12345 # END---------cut here-------CUT HERE-------END#
SERVER Line The SERVER
line identifies the system on which the license manager is running, using the format
Note
The host ID in the SERVER line must match the host ID 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.
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 |