MATLAB Installation Guide for PC    

Problems Starting MATLAB

After a successful installation, you may encounter problems starting MATLAB. Many of these problems have their root in the license manager used by the MathWorks products, FLEXlm. This section describes some of the more common license manager errors with possible solutions. It can also be helpful to view the FLEXlm log file, lmlog.txt, in the $MATLAB\flexlm directory.

To get more information about a FLEXlm license manager problem, see the FLEXlm End User Manual, available in PDF format in the $MATLAB\flexlm directory or go to the GLOBEtrotter Software, Inc. Web site, www.globetrotter.com. You can also go to the support page on the MathWorks Web site, www.mathworks.com, and find information about a particular license manager error by searching the solution database by error number.

License Manager Error -8: Invalid (Inconsistent) License Key

This error message typically indicates that your License File, $MATLAB\flexlm\license.dat, has been corrupted. This can happen if the License File was edited or if an e-mail program inserted extraneous tabs or carriage returns in the INCREMENT lines.

Check that the contents of your License File matches the License File data sent you by The MathWorks.

License Manager Error -9: Invalid Host

MATLAB locks a license to a particular machine. If you get this error, make sure you are running MATLAB on the same system it was installed on. You can also get this error if you replace your hard drive, change the partition on an existing hard drive, or try to clone a Release 12 installation from one system to another.

Remove the current MATLAB installation, delete the installation directory, and then reinstall MATLAB.

License Manager Error -10: Feature has expired

This error indicates that one or more of your features has expired.

Check the expiration date on each of the INCREMENT lines in your License File. If the dates in the license file have already passed, contact the Customer Service department at The MathWorks (through the Web or through e-mail at service@mathworks.com). When contacting The Mathworks, include your License Number and the Host ID of your license server.

If none of your product licenses has expired, check that your system date and time are correct. On Windows systems:

  1. Click on the Start menu.
  2. Choose Settings.
  3. Click on Control Panel.
  4. Choose Date/Time.

License Manager Error - 13: No SERVER Line in License File

This indicates that there is no SERVER line in the License File. This line should be added by the installer.

Run the installer again or manually edit the License File, $MATLAB\flexlm\license.dat, adding the SERVER line. See License File for information about the format and contents of the SERVER line.

License Manager Error -15: Cannot connect to license server

This error message can have several causes but the most common cause is that the license manager isn't running.

Verify that both the license manager processes, LMGRD and MLM, are running. You can check this via the Task Manager, which can be accessed by pressing the Ctrl+Alt+Delete key sequence. Run these commands on the system on which your license manager is running.

If the license manager isn't running, see Starting and Stopping the License Manager for information about starting it.


 Problems During Installation Troubleshooting an Installation That Uses Dongles