# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

6 Installing TOMLAB license files

In order to run the TOMLAB solvers a valid license file is required (a plain text file called tomlab.lic). This file should normally be placed in the TOMLAB root directory tomlab. Demo licenses include an additional file tomlicd.dat which also should be put in the TOMLAB root directory.

It is important that tomlicd.dat, if present, is writable for the user running TOMLAB.

If the license file is placed in a non-standard location, an environment variable (TOMLAB_LICENSE_FILE) need to point to the location (full path) of this file.

For Windows XP/Vista/7/10, open the Control Panel, click on System, select the Advanced Tab, and click on Environment variables. Click on New under user variables. Variable name should be set to TOMLAB_LICENSE_FILE and variable value to the location of the file (including file name), for example: C:\tomlab\tomlab.lic.

If using a UNIX-like system the following command (depending on Shell) archives the same result:

For CSH-like shells:

   $ setenv TOMLAB_LICENSE_FILE /usr/local/tomlab/tomlab.lic

For Bourne-like shells:

   $ export TOMLAB_LICENSE_FILE=/usr/local/tomlab/tomlab.lic

« Previous « Start » Next »