Installation guide

Licensing Components
Using Environment Variables to Specify the License File Location
You can specify the License File you want MATLAB to use by assigning a
value to either of two environment variables, listed in the following table.
}.EnyirorimfentVigriqble:':V-|
LM_LICENSE_FILE Specifies the location of the License
File for all appUcations using
FLEXnet on this server.
MLM_LICENSE_FILE Specifies the location ofthe License
File,
but only for products of The
MathWorks.
To create these environment variables on Windows systems, use the System
Properties dialog box. For example, on Windows XP systems, right-click the
My Computer icon on your desktop and select Properties. In the System
Properties dialog box, select the Advanced tab. On this tab, click the
Environment Variables button. On the Environment Variables dialog box,
click the New button to create a variable.
Note Do not specify a License File with a network path when your system
is not on a network. This can cause MATLAB to hang at startup, until the
network connection time-out expires.
Using the -c Command Line Option
You can specify the License File that you want MATLAB to use by using the
-c option with thematlab command. When you use the -c option with the
matlab command, you explicitly prohibit the searching of these environment
variables. When using the
- c
option, if the path to your license file contains a
space, enclose the pathname in quotes.
3-9