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

« Previous « Start » Next »

4  Installing TOMLAB

This section describes how to install the TOMLAB software. Follow the instructions in the section for your operating system.

4.1  Install on Windows

For Windows an InstallShield installer extracts the TOMLAB files and automatically sets the PATH environment variable to point at directories containing dynamic libraries required by some TOMLAB modules. The installer is downloaded from the web site. It requires that no instance of MATLAB is running during the installation to be sure the PATH environment variable is properly set in the MATLAB environment when starting to use TOMLAB. Do getenv('path') in MATLAB to confirm the presence of tomlab/shared.

As the PATH environment variable is set automatically, one can skip Section 5 and go directly to the Section 6 .

If the installer failed to set the PATH environment variable, go to Section 5 and read about how to do it manually.

It may be needed to reboot the computer after installation.

4.2  Upgrade on Windows

With Add/Remove Programs from the control panel, remove the TOMLAB Optimization Environment. Make sure that (only) tomlablic.dll or tomlablic.mexw64 remains in the installation folder and install the new version in the same location. As defaults in TOMLAB may change over time a backup copy of the old version is recommended.

4.3  Install on Unix-like systems

On the Unix-like systems Linux, Sun Solaris and Mac OS X, the installation procedures are identical, but different files are needed. Here is a list of the files for each operating system:
  • Linux, tomlab-lnx-setup.tar.gz or tomlab-lnx7-setup.tar.gz
  • Linux 64-bit, tomlab-lnx64-setup.tar.gz
  • Sun Solaris, tomlab-sun-setup.tar.gz
  • Mac OS X, tomlab-osx-setup.tar.gz
Extract the files to a directory where TOMLAB is to be installed. After extraction there will be a README.TOMLAB file and a sub-directory tomlab (do not create manually before installation) in the destination directory. The commands for extracting the files are
   $ gunzip tomlab-xxx-setup.tar.gz
   $ tar -xf tomlab-xxx-setup.tar
where tomlab-xxx-setup.tar.gz is the name of the TOMLAB file for your operating system listed above.

On Sun Solaris systems, one may need to install SUN Fortran Workshop libraries, sunlibs-1.5.tar.gz. This file can be downloaded from the same download page as the Sun Solaris TOMLAB files (see Section 3.)

4.4  Upgrade on Unix-like systems

The first step is to save a copy of the license file (and make a backup copy of the old version if needed). Assuming that TOMLAB is installed in /usr/local/matlab7/tomlab execute the follow commands:
   $ cd /usr/local/matlab7/tomlab
   $ mv tomlablic.mex* ../
Then remove the old version:
   $ cd ..
   $ rm -f -r tomlab
Install the new version as described in section 4.3 and move back the license:
   $ mv tomlablic.mexsol ./tomlab

« Previous « Start » Next »