MATLAB Installation Guide for Unix    

Specifying the Location of the License File

The environment variable LM_LICENSE_FILE defines where the license manager looks for the License File. By default, The MathWorks appends the value $MATLAB/etc/license.dat to this variable. If you want to change the value of this environment variable to point to some other location, you must edit the.matlab6rc.sh script, which resides in $MATLAB/bin.

If you edit the .matlab6rc.sh file, you need to specify the new location in the license manager options file $MATLAB/etc/lmopts.sh before calling lmstart.


 License File Determining Your Hostid