| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Installation |
| Contents | Index |
| On this page… |
|---|
Starting and Stopping the License Manager |
For general information about post-installation tasks, see After You Install.
If you configure the license manager as a service, you can use the Windows Services control panel to start or stop the license manager service. On the Windows Start menu, select Settings > Control Panel > Administrative Tools > Services.
You can also use the license management tools available in the matlabroot\flexlm folder. These tools provide better diagnostic messages.
This section describes several utilities provided by FLEXNET licensing that you can use to monitor and manage the license manager. For detailed information about these utilities, see the FLEXnet Licensing End User Manual, included in PDF format in your MATLAB installation (matlabroot\flexlm\enduser.pdf).
FLEXnet licensing includes a graphical user interface (GUI), called LMTOOLS. Using LMTOOLS you can get the status of the license manager, configure the license manager as a service, start and stop the license manager, and perform many other license management tasks. To illustrate, the following example shows how to use the LMTOOLS GUI to see the current status of the license manager:
Start LMTOOLS by double-clicking the lmtools.exe file in the matlabroot\flexlm folder.
Click the Perform Status Enquiry button. LMTOOLS displays the same information as if you had entered the command lmutil lmstat -a.

On Windows systems, FLEXnet licensing packages all their license management utilities in a single, command line executable called lmutil.exe. The installer includes this utility in every server installation in the matlabroot\flexlm folder. To view a list of all the capabilities of the lmutil utility, open a Command Prompt window, go to the matlabroot\flexlm folder and type
lmutil
The following table lists the names of the most useful tools available through lmutil.
To illustrate, the following example shows how to get the current status of the license manager.
Open a DOS command prompt window and enter the lmutil command, specifying the name of the lmstat utility.
lmutil lmstat -a -c "C:\Program Files\MATLAB\R2009b\flexlm\license.dat"
The example uses the -a option to get a verbose listing of available licenses and the -c option to specify the location of the License File to use. You must specify the -c option with every tool invoked through lmutil.exe. If your installation path contains spaces, enclose the path in quotes.
View the status information returned.
lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
Flexible License Manager status on Sun 1/11/2009 15:12
[Detecting lmgrd processes...]
License server status: 27000@customerj
License File(s) on customerj: C:\Program Files\MATLAB\R2009b\flexlm\license.dat:
customerj: license server UP (MASTER) v.11.6
Vendor daemon status (on customerj):
MLM: UP v11.6
Feature usage info:
Users of MATLAB: (Total of 5 licenses available)
Users of SIMULINK: (Total of 5 licenses available)
Users of Control_Toolbox: (Total of 5 licenses available)
Users of Identification_Toolbox: (Total of 5 licenses available).
If you run the license manager on a server that is protected by a security firewall, you must open the firewall to allow client installations to communicate with the license manager daemons: mlm.exe and lmgrd.exe. For information about these daemons, see the License Administration Guide.
Using the interface provided by your firewall program, allow access on port 27000 for the license manager daemon. This is the default port used to communicate with the license manager. If you changed this port number, specify the port number used at your site. For more information about specifying the license manager daemon port number, see the License Administration Guide.
The port used by the vendor daemon is assigned dynamically. If you need to open access to the vendor daemon in your firewall, you must assign a port for vendor daemon communication, rather than using this dynamic port assignment. You can then open the assigned port number in your firewall.
To specify the vendor daemon port number, edit the License File on your license server and add the port= syntax to the DAEMON line. For more information about specifying the vendor daemon port number, see the License Administration Guide.
![]() | Installing MathWorks Software on Client Systems | Installing Noninteractively (Silent Installation) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |