| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Installation |
| Contents | Index |
Note If your configuration calls for the license manager and MATLAB software to run on the same server, you can perform both installations at the same time. |
Before you run the installation program:
Have your License File handy. For network configurations, you activate the license before you run the installer on the server. Visit the License Center at the MathWorks Web site, providing the host ID of the computer on which you intend to run the license manager. The MathWorks creates a License File that you can download from the License Center. You specify this License File during installation of the license manager on the server. Only the administrator contact on a network license option can activate the software.
Exit any existing copies of MATLAB you have running on the system where you are performing the installation.
Shut down the license manager, if it is running. See Starting and Stopping the License Manager for more information.
Get administrator privileges for the system on which you plan to install MATLAB.
Consider disabling virus checking software and Internet security applications on your system for the duration of the installation process. These applications can slow down or cause the installation process to appear to become unresponsive (hang).
You only need to install the license manager once at a site. For information about installing MathWorks software on clients, see Installing MathWorks Software on Client Systems.
If you are upgrading your MATLAB installation to the latest release, The MathWorks recommends that you install the new version in a new installation folder. This is recommended when upgrading an installation of a prerelease version of the software as well. You do not need to delete an existing MATLAB installation before installing this release. You can run multiple releases of MATLAB on the same system.
Note If you are installing the license manager in a new directory, you should either remove the license manager service before running the installer or choose to not configure the license manager when asked at step 10. You cannot run two license managers at the same time, even if they are in different directories. |
To start the MathWorks installer, insert the DVD into the DVD drive connected to your system. The installer starts automatically. If the installer does not start, navigate to the top-level folder on the DVD and double-click the installer (setup.exe). If you downloaded products from the MathWorks Web site, open the folder containing the product files and double-click the installer.
In the first dialog box, you must decide how you want to perform the installation. If you are connected to the Internet, the easiest way to install is by selecting the Install automatically using the Internet option. During installation, you log in to your MathWorks Account, select the license you want to install, and follow the prompts on the installer dialog boxes. The installer can determine if newer versions of products that you are installing are available at the MathWorks Web site and offers you the option of downloading these updated versions. Click Next to proceed with the installation.

If your Internet connection requires a proxy server, click the Connection Settings button. You can enter the server name and port information in the Advanced Options dialog box. The MathWorks supports several types of proxy configurations: Basic authentication, Digest authentication, and NTLM authentication.

If you do not have an Internet connection during installation, see Installing and Activating Without an Internet Connection. Note that a network installation has additional steps.
Review the software license agreement and, if you agree with the terms, select Yes and click Next.
After the installation is complete, you can view or print the license agreement using the file license.txt located in the top-level installation folder.

Enter the e-mail address and password of your MathWorks Account and click Next. If you do not have a MathWorks Account, select the I need to create a MathWorks Account option and click Next.

Enter your e-mail address, first name, last name, and Activation Key. To create an account, you must provide an Activation Key. A newly created account will not have any licenses associated with it. The Activation Key identifies the license you want to install. The administrator contact on the license can retrieve the key by visiting the License Center at the MathWorks Web site. Click Next to create your account.

Because the Activation Key you entered specifies a particular license, the installer skips the license selection step.
Select a license with one of the network license options from the list of licenses associated with your MathWorks Account and click Next. The list contains the following information about the licenses:
License number.
An optional descriptive text label that can help identify the license. To label a license, go to the License Center at the MathWorks Web site. See the License Center Help for instructions.
Information identifying the license option and the activation type. For server installation, select a license with one of the network license options. If you haven't set the activation type, the word "Unset" appears.
If you want to install products on a license that is not associated with your MathWorks Account, select the Enter an Activation Key for a license not listed option, enter an Activation Key, and click Next.

An Activation Key is the unique code that identifies a license. It can be used to activate a license and also allows licensed end users to associate their MathWorks Account with a license. Ask the administrator of the license for the Activation Key.
To install the license manager, you must choose the Custom option and click Next.

Specify the name of the folder where you want to install MathWorks products. You can accept the default installation folder or specify the name of a different installation folder. If the folder doesn't exist, the installer creates it.
When specifying a folder name, do not specify a name that contains the @ sign, an exclamation point (!), the percent character (%), the plus sign (+), or the dollar sign character ($). The full path of the installation folder must not include a folder named private. If you make a mistake while entering a folder name and want to start over using the default folder name, click Restore Default Folder. To continue with the installation, click Next.

To install the license manager, you must select the license manager in the product list. By default, it is not selected for installation.
If you are only installing the license manager on your server, clear the check boxes next to the other products. If you are setting up a remote access configuration where users will run MathWorks products on a central server, and this central server is your license server, leave all the other products in the list selected for installation.
After making your selections, click Next to proceed with the installation. After clicking Next, you might receive a message telling you that one or more of the products you selected depend on other products. See Product Dependencies for more information.

Enter the full path of your License File in the text box (or drag and drop the file) and click Next click.
When installing the license manager on a server, specify the License File you received from the MathWorks.

During a server installation, where you install the license manager, you must specify the location of the License File you received from The MathWorks. The installer performs the following processing of this License File:
Makes a copy of your License File, naming it license.dat, and puts this copy in the \flexlm directory of your MATLAB installation directory.
Adds a SERVER line and a DAEMON line to the file. The SERVER line identifies the server (host and port number). The DAEMON line identifies the name of the license manager daemon (matlabroot/flexlm/mlm.exe).
The MathWorks recommends configuring the license manager service. This provides automatic startup at system boot time and centralizes administration of the license manager through the Windows Services control panel. If you choose not to configure the license manager service, you can do it later.
Note If you have an existing license manager that you want to continue to use until you install this new one, select the Do NOT configure license manager service option. The installer still installs the license manager files. After installation, you can stop your existing license manager and start your new license manager. |

Note You only see this dialog box if you are installing MATLAB software on your server. If you are only installing the license manager, you will not see this dialog box. |
For Custom installations, you can specify several installation options, including:
Setting the permissions of all installed files to read only.
Determining whether the installer puts shortcuts for MATLAB software in the Start menu and on the desktop.
Specifying which files the operating system associates with MATLAB, based on their file extension. For example, if you associate files with the .m file extension with MATLAB, the operating system identifies the type of these files as MATLAB M-file.
After selecting installation options, click Next to proceed with the installation.

Before it begins copying files to your hard disk, the installer displays a summary of your installation choices. To change a setting, click Back. To proceed with the installation, click Install.

As it copies files to your hard drive, the installer displays a status dialog box to show the progress of the installation.
The installer includes information about how to start the license manager on your server. If you installed other products, you might also see some additional product configuration and product update information.
Click Next to proceed with the installation.

When the MathWorks Installer finishes, it displays the Installation Complete dialog box. Click Finish to exit the installer.
If you installed the license manager as a service, The MathWorks recommends that you restart your computer now. The license manager must be running to start MATLAB on client systems. As a service, the license manager gets started automatically at system boot time.

After you install the license manager on your server, you must provide users who want to install MathWorks products on their computers with:
Licensing information — Give users a copy of the License File that was processed during installation of the license manager on your server. The installer made a copy of your original License File, named it license.dat, and added information that clients need to connect to the license manager. You can find this License File in: matlabroot\flexlm\, where matlabroot is your MATLAB installation folder.
Note Do not give users performing client installations a copy of the original License File you created from the licensing e-mail. They can't use the licensing information in this form. Also, do not forward to users the licensing e-mail you received from The MathWorks. |
Depending on how you provide access to product files, you must also give users performing client installations a File Installation Key for the license or the Activation Key for the license.
Access to product files — There are several ways to make product files available to users performing client installations. You can share the MathWorks product DVD with users. You can also download the product files and make the files available on a server that is accessible to all clients. For these scenarios, users will need a File Installation Key to install products.
If users performing client installations have MathWorks Accounts, you can give them the Activation Key for the license and let them log in to their accounts during installation and download product files from the MathWorks.
Installation instructions — Give users a copy of the instructions in Installing MathWorks Software on Client Systems. Do not give them the license manager installation instructions because this might confuse them.
![]() | Overview | Installing MathWorks Software on Client Systems | ![]() |

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 |