| 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 change the definition of LM_LICENSE_FILE in .matlab6rc.sh, you need to edit the license manager options file $MATLAB/etc/lmopts.sh to change the LM_FILE variable assignment. For example, if you change the location of the License File to /usr/licenses/license.dat, use the assignment
in the license manager options file.
| License File | Determining Your Hostid | ![]() |