Install Products on Offline Computer - MATLAB & Simulink (original) (raw)

Use this procedure when you want to install MathWorks products on a computer that does not have an internet connection.

To prepare for this workflow, you must get the following items:

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

Before You Begin

To avoid problems during the installation process, read these important notes before you begin.

Make Sure Your System Meets Requirements

Before you begin, see System Requirements for MATLAB.

Change the tmp directory for installation

To change the tmp folder for installation, see MATLAB® Answer How can I change the temp directory the MATLAB installer uses?

Connection Errors

If you get connection errors while running the installer for an offline workflow, then you most likely do not have all the installation files required to install MathWorks products using a File Installation Key. Using a computer connected to the internet, go to Download Products Without Installing to restart the workflow from the beginning.

Step 1. Get License File and Installation Key

Step 2. Start Installer

Start the installer using the target machine's platform-specific instructions, as shown in this section. When prompted to allow the app to make changes, answerYes.

Windows

On Windows systems, the default installation directory is:

C:\Program Files\MATLAB\R2025a

To launch the installer on Windows systems:

  1. Double-click the setup.exe file to launch the installer.
  2. When asked if you want to allow the application to make changes, answerYes.
  3. If your computer has been configured to use a proxy server for internet access, enter the user name and password to continue with a standard installation. Contact your system administrator for proxy server credentials.

Linux

On Linux® systems, the default installation directory is:

Note

You must install MathWorks products to a directory where you have write permissions. Root privileges are not required to run the installer unless you want to install to the default directory.

Follow these steps to install on Linux:

  1. At the system terminal, unzip the matlab_R2025a_Linux.zip installer archive to the matlab_R2025a_Linux directory by entering:
unzip matlab_R2025a_Linux.zip -d matlab_R2025a_Linux  
  1. Navigate to the matlab_R2025a_Linux directory.
    • To launch the installer and install to a directory where you have write permissions, execute:
      When prompted by the installer, specify the folder for installation.
    • To launch the installer as root, execute:
      If the installer fails to launch as root, it might not have access to the graphical user interface that you need for installation. Try this workaround:
    xhost +SI:localuser:root  
    sudo -H ./install  
    xhost -SI:localuser:root  

    This allows the root user to access the running X server, launches the installer, and then removes the root user from accessing the X server.

macOS (Intel Processor)

On macOS Intel® processor systems, the default installation directory is:

/Applications/MATLAB_R2025a.app

To install on macOS Intel processor systems:

  1. Double-click the matlab_R2025a_macOSIntelProcessor.dmg.zip file to unzip the disk image.
  2. Double-click the matlab_R2025a_macOSIntelProcessor.dmg disk image file to mount the virtual disk.
  3. Double-click the InstallForMacOSIntelProcessor installer file in the virtual disk to launch the installer.
  4. If your computer has been configured to use a proxy server for internet access, enter the user name and password to continue with a standard installation. Contact your system administrator for proxy server credentials.

macOS (Apple Silicon)

On macOS Apple silicon systems, the default installation directory is:

/Applications/MATLAB_R2025a.app

To install on macOS Apple silicon systems:

  1. Double-click the matlab_R2025a_macOSAppleSilicon.dmg.zip file to unzip the disk image.
  2. Double-click the matlab_R2025a_macOSAppleSilicon.dmg disk image file to mount the virtual disk.
  3. Double-click the InstallForMacOSAppleSilicon installer file in the virtual disk to launch the installer.
  4. If your computer has been configured to use a proxy server for internet access, enter the user name and password to continue with a standard installation. Contact your system administrator for proxy server credentials.

The native Apple silicon MATLAB requires that a Java® runtime be installed on your Mac. To obtain a compatible Java runtime, see MATLAB on Apple Silicon Macs

Step 3. Accept License Agreement

Review the software license agreement. If you do not agree with the terms of the license agreement, you will be unable to install MathWorks products.

Step 4. Enter File Installation Key

Enter the File Installation Key where prompted.

Step 5. Select License File

The license file is required for installation when you use a File Installation Key. It identifies which products you can run.

Step 6. Select Destination Folder

The destination folder is where you want to install MathWorks products. Accept the default installation folder, or clickBrowse to select a different one. If the folder does not exist, the installer creates it.

The destination folder must be on an absolute path. MathWorks recommends that you install MathWorks products in their own folder. If you select the top-level drive, you will be asked to confirm your selections.

When specifying a folder name:

If you make a mistake while entering a folder name and want to start over, clickRestore Default.

Step 7. Select Products

The Product Selection list shows all the products associated with the File Installation Key you specified.

Step 8. Select Options

Some options are available only for certain license types. If no options are presented to you, you can go to the next step.

Step 9. Confirm Selections and Install

Review the summary of your installation choices. To change a setting, click the topic on the navigation bar. To proceed with the installation, click Begin Install.

When the installation is complete, note if the installer shows you any additional steps required to complete configuration, and click Finish. If additional steps are required, complete them before running MATLAB.

If you are installing server products, see Install MATLAB Server Products.

License or System Administrators Only

If you run into unrecoverable errors, or if your organization has complex license mixing issues, consider performing an ISO download instead. See How do I download a MATLAB ISO archive?

See Also

Topics