MATLAB Installation Guide for PC    

Installing the License Manager as a Service

The installer gives you the option of installing the license manager as a Windows NT service. (See Step 7: Install the License Manager as a Service.) Installing the license manager as a service provides for automatic startup at system boot time and centralizes administration of the license manager through the Windows Services control panel.

If you choose not to install the license manager as a service during installation, you can do it later using the install.exe program or the FLEXlm License Manager control panel, which are both available in the $MATLAB\flexlm directory.

Using the FLEXlm Control Panel

To use the FLEXlm License Manager control panel (flexlm.cpl) to install the license manager as a Windows service, follow this procedure:

  1. Move to the $MATLAB\flexlm directory, where $MATLAB represents your MATLAB installation directory.
  2. Right-click on the flexlm.cpl file and select Open with Control Panel.
  3. In the FLEXlm control panel, click the Setup tab. Specify the full path of the license manager daemon (lmgrd.exe) and the processed license file. You can also specify the name and location of the license manager log file. Select the Use NT Services check box and, if you want the license manager to start automatically each time your system starts, click the Start Server at Power-Up check box.
  4. Click OK.

Using install.exe

To use install.exe to install the license manager as a service, follow this procedure:

  1. Open a DOS Command Prompt window.
  2. Move to the $MATLAB\flexlm directory, where $MATLAB represents your MATLAB installation directory.
  3. Enter the command

    where the -c flag specifies name of your processed license file and the -e flag specifies the name of the license manager daemon.

You can also use install.exe to perform other license manager administration tasks, such as:

By default, the license manager service is called the MATLAB License Server in the Windows Services control panel. To get more information about the syntax of the install.exe program, enter install at the command prompt.


 Starting and Stopping the License Manager Managing Your Licenses