# 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 needed (a plain text file called tomlab.lic). This file should normally be placed in the TOMLAB root directory tomlab. In case of a demo license, there may be an additional file tomlab.dat which also should be put in the TOMLAB root directory.

It is important that tomlab.dat is writable for the user running TOMLAB.

An environment variable (TOMLAB_LICENSE_FILE) need to point to the location of this file (if not placed in the TOMLAB root directory).

For Windows 2000/XP go to 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 »