Main Content

Install Products on Offline Computer

This topic shows how to install MathWorks® products on a computer that does not have an internet connection. To install products on an online machine, see Download and Install MATLAB.

In this installation procedure, you download the necessary files, move them to an offline machine, and install the products using a graphical installer. For noninteractive installation, see Install Products Noninteractively.

Prerequisites

  • You must have the necessary permissions to install MathWorks software. If you have questions about permissions, ask your system administrator.

  • The computer used to access the license information and download the product files must have access to the internet.

Retrieve License File and File Installation Key

To perform the installation on an offline computer, MATLAB® needs access to a license file and a File Installation Key. The File Installation Key tells the MathWorks product installer which products it is allowed to install based on a license in the License Center.

To access the license file and File Installation Key you must be a license administrator. If you are unsure who your license administrator is, follow the steps in Find Your License Administrator

To download the license file and retrieve the File Installation Key:

  1. Go to the License Center and click the license you want to use.

  2. Click the Install and Activate tab and look under Related Tasks.

    • If the license is not activated, click Activate to Retrieve License File. Fill in the fields as directed using the information for the offline machine, and then click Continue. From here you can download the license file and copy the File Installation Key.

    • If the license is activated, click Update License File. To download the license file, click the download icon under Get License File. To get the File Installation Key, click Advanced Options, select the appropriate release, and copy the File Installation Key.

    • If the Install and Activate tab does not have a Related Tasks section, contact support.

Download Installer and Product Files

You need to download both the installer and the product files. You can download specific products using the download-only installer or, if you are using Windows® or Linux®, download all products using the ISO Image.

Download Subset of Products Using Download-Only Installer

If you need to install only a subset of products, use the MathWorks installer to download a separate installer containing those products.

  1. Go to MathWorks Downloads, select the release and platform of the computer you are using to perform the download, and download the installer.

  2. Run the downloaded installer, sign in to your MathWorks account, and accept the license agreement.

  3. Click Advanced Options and select I want to download without installing.

  4. Specify where you want to download the installer, the platform of the target computer, and the products you want to download. Then download the installer containing the product files.

Download All Products Using ISO Image (Windows or Linux Only)

If you want to install all products, download the ISO image containing all products.

  1. Go to MathWorks Downloads. Click I Want To and select Get ISOs and DMGs. This option is available only if you are signed in as the license administrator.

  2. Select the release and update of the ISO you want to download.

  3. Under Get ISOs and DMGs for MATLAB and Simulink Products, select the platform of the target computer (not the computer you are using to perform the download), and then download the ISO.

  4. Using the standard process for your operating system, mount the downloaded ISO to a folder.

Move Files to Offline Machine

Save the downloaded files on removable media (for example, a USB stick) and move the installer and product files, license file, and copied File Installation Key onto the offline machine.

You can save the files to any location. Be sure to note the location, because you need to refer to it during the installation process.

Install Products on Offline Machine

Start the installer using the target machine's platform-specific instructions, and follow the prompts to install the products.

Windows

To launch the installer on Windows systems, open the downloaded product files and locate the setup.exe file in the top level of the product files. Double-click the setup.exe file to launch the installer.

Follow the installer instructions, entering the File Installation Key and license file when prompted, to complete the installation.

On Windows systems, the default installation directory is:

C:\Program Files\MATLAB\R2026a

Linux

To launch the installer on Linux systems:

  1. Unzip the downloaded installer files and navigate to the unzipped folder. For example, use these commands to unzip the installer for release R2026a to a folder of the same name, and then navigate to the folder.

    unzip matlab_R2026a_Linux.zip -d matlab_R2026a_Linux
    ./matlab_R2026a_Linux
    cd ./matlab_R2026a_Linux

  2. In the installation folder, run the install script and follow the prompts to complete the installation.

    xhost +SI:localuser:root
    sudo -H ./install
    xhost -SI:localuser:root
    The sudo command is required only when you install products to a folder for which you do not have write permissions, which might include the default installation folder. The xhost commands are required only when you install products as the root user with sudo. These commands temporarily give the root user access to the graphical display required to run the installer.

Follow the installer instructions, entering the File Installation Key and license file when prompted, to complete the installation.

On Linux systems, the default installation directory is:

/usr/local/MATLAB/R2026a

macOS

To launch the installer on macOS systems, unzip the dmg file and double-click the installer.

Follow the installer instructions, entering the File Installation Key and license file when prompted, to complete the installation.

On macOS systems, the default installation directory is:

/Applications/MATLAB_R2026a.app

Troubleshooting

If you have trouble installing MATLAB products, review the following common issues that might occur during the installation process. If you continue to have problems, contact support. Provide any error messages, log files, or screenshots related to the problem in your help request.

Unable to Locate the Product Files for Installation

A missing installation files error stating that MATLAB is unable to locate the product files for installation might indicate that you downloaded the online installer. Repeat the steps in the section Download Installer and Product Files, making sure you select Advanced Options > I want to download without installing.

tmp Folder Not Large Enough

During installation, the installer temporarily stores files in the tmp folder of your platform. If you get an error stating that your tmp folder is not large enough to complete the installation, you can change where the installer stores these files. See How can I change the temp directory the MATLAB installer uses?

See Also

Topics