Installation Guide for Windows | ![]() ![]() |
When you start MATLAB, it reads the License File to determine the host name and port address of the license server. MATLAB must contact the server to get licenses. MATLAB expects to find the License File, license.dat, in a standard location, but you can specify another location using either of the following methods:
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.
Environment Variable | Purpose |
---|---|
LM_LICENSE_FILE | Specifies the location of the License File for all applications using FLEXnet on this server. |
MLM_LICENSE_FILE | Specifies the location of the 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. |
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.
![]() | License File Processing on Client Systems | FLEXnet License Management Utilities | ![]() |
© 1984-2006 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments