Install MathWorks Software on Client Systems

Before You Install

Get required installation and licensing information from your license administrator. This information includes:

  • Product access:

    • If products are on a shared DVD or on a server, obtain the File Installation Key from your license administrator.

    • If you are planning to use a File Installation Key for installation, ensure that the product files, including the MATLAB® installer, are available in an accessible location, such as the default Downloads folder on your computer, a network share, or a DVD. If the product files are located in a folder other than the default Downloads folder on your computer, the installer file must be in the same folder as the product files.

      MATLAB student-use software does not include DVDs. You must connect to MathWorks® to download and install products.

    • If you are expected to use your MathWorks Account to install products, make sure that you have your email address and your MathWorks Account password handy. You need them to log in to your account during installation.

      If necessary, obtain the Activation Key. If you do not have a MathWorks Account, you need the Activation Key to create one during installation. An Activation Key is the unique code that identifies a license. It also allows licensed end users to associate their MathWorks Account with a license.

  • The client License File. The License File must include the correct SERVER line for the license server you need to use.

  • Correct permissions to install the software. If you have questions about permissions, ask your system administrator.

    • Windows Systems — Get the name and password of the administrator account on your computer. The installer modifies the system registry during installation.

    • Linux Systems — Get the root password. You can install MATLAB software without superuser privileges, however, it limits certain installation options. For example, if you want to set up symbolic links to the matlab command, install product files in a protected folder, or edit the system boot script, you must have superuser status.

    • Mac OS X Systems — Get the name and password of an administrator account on your computer. The administrator account is the user account you set up when you configured your Mac OS X system; this account is not your MathWorks Account. During installation, you must enter this name and password in the Authenticate dialog box,

  • Whether to disable virus checking software and internet security applications. These applications can slow down or cause the installation process to appear to become unresponsive (hang).

If You Are Upgrading an Existing Installation

For best results when upgrading your MATLAB installation to the latest release, install the new version in a new installation folder. Installing in a new installation folder also applies when upgrading an installation of a prerelease version of the software. You do not need to delete an existing MATLAB installation before installing a new release. You can run multiple versions of MATLAB on the same system.

Step 1: Start the Installer

    Note:   If you are accessing products from a shared location and planning to use a File Installation Key, verify that the folder containing the product files includes the installer file for your platform in the root of the folder (setup.exe for Windows, install for Linux, and InstallForMacOSX for Mac OS X) and an archives subfolder. If the archives subfolder contains fewer than 3 files, you might be missing required files. Ask your administrator to download the files again using the procedure in Download Products Without Installation.

  1. Start the installer. The method you use to start the installer depends on your platform and whether the license administrator downloaded the installer from the MathWorks website or you are using a DVD.

    • Windows

      • Previously downloaded product files — If you or an administrator downloaded the product files previously and copied the product files to your computer, a network share, or to media, go to the top level of the folder where the product files are located and click setup.exe.

      • Downloaded installer file — Double-click the self-extracting installer file in the folder where the downloaded files are located. The installer should start automatically after file extraction is complete.

        To restart the installer later, click setup.exe. This file is located in the top level of the folder where you extracted the files.

      • DVD installation — Insert the DVD into the DVD drive connected to your system. The installer usually starts automatically.

    • Mac OS X

      • Previously downloaded product files — If you or an administrator downloaded the product files and copied the extracted files to your computer, a network share, or to media, go to the top level of the folder where the product files are located and double-click the InstallForMacOSX icon to begin the installation.

      • Downloaded installer file — Double-click the archive file in the folder where the downloaded files are located. After extracting the files, open the installer folder and double-click InstallForMacOSX.app.

      • DVD installation — Insert the DVD into the DVD drive connected to your system. When the DVD icon appears on the desktop, double-click the icon to display the DVD contents, and then double-click the InstallForMacOSX icon to begin the installation.

    • Linux

      • Previously downloaded product files — If you or an administrator downloaded the product files and copied the extracted files to your computer, a network share, or to media, go to the top level of the folder where the product files are located and execute the installer command:

        ./install
        

      • Downloaded installer file — Use the unzip command to extract the files from the archive file in the folder where the downloaded files are located. After extracting the files, execute the installer command:

        ./install
        

        DVD installation — Insert the DVD into the DVD drive connected to your system and execute this command:

        /path_to_dvd/install &

        Depending on how your system is configured, you might have to mount the DVD first. Make sure that you mount it with execute permissions, as in the following example. The name of the DVD drive might be different on your system.

        mount -o exec  /media/cdrom0
        

      • Downloaded installer file — Use the unzip command to extract the files from the archive file in the folder where the downloaded files are located. After extracting the files, execute the installer command:

        ./install
        

        DVD installation — Insert the DVD into the DVD drive connected to your system and execute this command:

        /path_to_dvd/install &

        Depending on how your system is configured, you might have to mount the DVD first. Make sure that you mount it with execute permissions, as in the following example. The name of the DVD drive might be different on your system.

        mount -o exec  /media/cdrom0
        

Step 2: Choose an Installation Method

Choose whether you want to install using a File Installation Key or a MathWorks Account. If you have a File Installation Key, choose Use a File Installation Key and click Next.

If you have an internet connection and are expected to use a MathWorks Account to install products, choose Log in with a MathWorks Account. For this option, you might need to obtain an Activation Key from the license administrator.

Step 3: Review the Software License Agreement

Review the software license agreement and, if you agree with the terms, select Yes and click Next.

Step 4: Specify the File Installation Key

If you are expected to use a MathWorks Account to access products for installation, skip this step and go to Step 5.

If you are using a shared DVD or the product files are accessible on a server, select Use a File Installation Key and click Next.

Step 5: Log in to Your MathWorks Account

To log in to your MathWorks Account, enter your email address and password, and click Next. The installer contacts MathWorks to retrieve information about the licenses associated with your account.

If you do not have a MathWorks Account, select the Create a MathWorks Account (requires an Activation Key) option and click Next. You are prompted to enter the data needed to create the account.

Creating a MathWorks Account

To create an account, enter your email address, first name, last name, and password. You must also provide an Activation Key because a newly created account does not have any licenses associated with it.

The Activation Key identifies the license you want to install. The administrator of this license can retrieve the key by visiting the License Center at the MathWorks website. If you purchased MATLAB student-use software, your product package includes the Activation Key.

    Note:   Entering dashes or spaces for the Activation Key is optional.

Click Next to create your account.

    Note:   When you create a new MathWorks Account, you must verify your email address before you can proceed with installation. Before you click Next in the Email Verification Required dialog box, go to your email program, open the message sent to you by MathWorks, and click the verification link. Then return to this dialog box and click Next.

Because the Activation Key you entered specifies a particular license, the installer skips the license selection step.

Step 6: Select the License You Want to Install

    Note:   If you specified an Activation Key in the previous step, the installer skips this step.

Select a license 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.

  • Information identifying the license option and the activation type.

If you do not see the license you want in the list, select Enter an Activation Key for a license not listed and enter an Activation Key.

Step 7: Specify the Installation Folder

Specify the name of the folder where you want to install MathWorks products. Accept the default installation folder, or click Browse to select a different one. If the folder does not exist, the installer creates it.

When specifying a folder name, you can use any alphanumeric character and some special characters, such as underscores. If you make a mistake while entering a folder name and want to start over, click Restore Default Folder. After making your selection, click Next.

Step 8: Specify Products to Install

Specify which products you want to install. This dialog box lists all the products you are licensed to install. The products in the list are preselected for installation.

    Note:   Do not install the license manager on client systems.

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.

Step 9: Specify the License File Location

In the text box, enter the full path of the License File that you received from the license administrator and click Next.

License File Processing on Client

The installer performs the following processing of the License File on client systems:

  • Creates a copy of the License File you specify, naming it network.lic, and puts the file in the \licenses folder in your MATLAB client installation folder.

  • Deletes all the INCREMENT lines and the DAEMON line in the License File, leaving the SERVER line. Adds the statement USE_SERVER to the file.

Step 10: Specify Installation Options

Specify the installation options, depending on which platform you are installing.

On Windows Systems

On Windows, the Installation Options dialog box lets you choose whether to put shortcuts for starting MATLAB in the Start menu and on the desktop.

After selecting installation options, click Next to proceed with the installation.

On Linux Systems

On Linux systems, you can specify whether you want to create symbolic links to the matlab and mex scripts. Specify a folder to which you have write access and that is common to all your user's paths, such as /usr/local/bin .

After selecting installation options, click Next to proceed with the installation.

Step 11: Confirm Your Choices

Before it begins installing the software on 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.

    Note:   Depending on the method of installation that you use, the confirmation information can vary from the example shown here.

Read Product Configuration Notes

Depending upon which products you install, the installer might display a dialog box containing several types of information:

  • Product configuration information — Certain products require additional configuration. If you installed one of these products, the installer lists the configuration commands in this dialog box. You can copy these command to your system clipboard for use after the installation is completed.

Click Next to proceed with the installation.

Step 12: Complete the Installation

When the MathWorks installer finishes, click Finish to exit the installer.

Was this topic helpful?