MATLAB Installation Guide for Unix    

Starting the License Manager

If the license manager daemons are not running, you can start them by executing the lmstart script (located in the $MATLAB/etc directory) or by rebooting your system, if you edited the system boot script. The license manager must be running to start MATLAB.

Starting the License Manager Automatically

If you want to start the license manager daemons automatically at boot time, you must edit the UNIX boot script on your system, adding the Bourne shell commands required to start the license manager on your system.

MATLAB provides the commands required for each UNIX system in a set of files included in the $MATLAB/etc directory. Each file has the name rc.lm.system, where system identifies the system type.

For example, the file rc.lm.glnx86 contains the boot script commands required to start the license manager on Linux systems.

Table 1-1 describes how to insert these Bourne shell code fragments for all supported platforms.

Table 1-1: Bourne Shell Code Fragments  
Platform
Procedure
Compaq Alpha
(Tru64 UNIX)
Execute the commands
   cd $MATLAB/etc
   cp rc.lm.alpha /sbin/init.d/flexlm
   chmod 555 /sbin/init.d/flexlm
Edit /sbin/init.d/flexlm, replacing username in the code with an actual user name.
Execute the commands
   cd /sbin/rc3.d
   ln -s /sbin/init.d/flexlm S56flexlm
HP 9000 (HP-UX)
Execute the commands
   cd $MATLAB/etc
   cp rc.lm.hp /sbin/init.d/flexlm
   chmod 555 /sbin/init.d/flexlm
Edit /sbin/init.d/flexlm, replacing username in the code with an actual user name.
Create the file /etc/rc.config.d/flexlm containing the line FLEXlm_MATLAB=1 and then create the links
   cd /sbin/rc3.d
   ln -s /sbin/init.d/flexlm S900flexlm
   cd /sbin/rc2.d
   ln -s /sbin/init.d/flexlm K100flexlm
IBM RS/6000 (AIX)
Copy the code from $MATLAB/etc/rc.lm.ibm_rs and paste it at the end of /etc/rc.nfs.
Replace username in the code fragment with an actual user name.
Linux
Copy the code from $MATLAB/etc/rc.lm.glnx86 and paste it at the end of /etc/rc.d/rc.local.
Replace username in the code fragment with an actual user name.
SGI (IRIX/IRIX64)
Execute the commands
   cd $MATLAB/etc
   cp rc.lm.sgi /etc/init.d/lm
   chmod 555 /etc/init.d/lm
Edit /etc/init.d/lm, replacing username in the code with an actual user name.
Execute the commands
   cd /etc/rc2.d
   ln -s /etc/init.d/lm S45lm
Sun (Solaris 2.x)
Copy the code from $MATLAB/etc/rc.lm.sol2 and paste it at the beginning of /etc/init.d/lmgrd. Create this file if it doesn't already exist.
Edit /etc/init.d/lmgrd, replacing username in the code fragment with an actual user name.
If file (link) /etc/rc3.d/S17lmgrd does not exist, create it with
   cd /etc/rc3.d
   ln -s ../init.d/lmgrd S17lmgrd


 Starting MATLAB Specifying Print Options