Install Products on Offline Computer
R2026bThis 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 workflow, you download the necessary files, move them to an offline machine, and install the products using an interactive 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 that you use to access the license information and download the product files must be connected to the internet.
Get 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. Your license file contains information about the products and releases you are entitled to use. A File Installation Key is a numeric code that the product installer uses to determine which products to install based on your license.
To access the license file and File Installation Key, follow the steps in Get License File and File Installation Key.
Download Installer and Products
To complete this installation, you need to download both the installer application and the product installation files. You can either download specific products, using the download-only interactive installer, or download an all-products ISO or DMG image. For download instructions, see Download Products Without Installing.
Move Files to Offline Machine
Copy the downloaded product files, license file, and File Installation Key onto the offline machine.
You can save these files to any location. Remember the file locations, because you need to refer to them during the installation process.
Install Products on Offline Machine
Start the installer on the offline machine, using the instructions for your operating system, and follow the prompts to install the products.
Windows
To start the installer on Windows® systems, open the folder that contains the downloaded installer and
the product files, and double-click the setup.exe file.
To complete the installation, follow the installer instructions, entering the File Installation Key and license file when prompted.
On Windows systems, the default installation folder is:
C:\Program Files\MATLAB\R2026bLinux
To start the installer on Linux® systems:
Unzip the downloaded installer files and navigate to the unzipped folder. For example, use these commands to first unzip the installer for release R2026b to a folder of the same name, and then navigate to the folder.
unzip matlab_R2026b_Linux.zip -d matlab_R2026b_Linux cd ./matlab_R2026b_LinuxIn the installation folder, run the
installscript and follow the prompts to install the products.Thexhost +SI:localuser:root sudo -H ./install xhost -SI:localuser:rootsudocommand 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. Thexhostcommands are required only when you install products as the root user withsudo. These commands temporarily give the root user access to the graphical display required to run the installer.
To complete the installation, follow the installer instructions, entering the File Installation Key and license file when prompted.
On Linux systems, the default installation folder is:
/usr/local/MATLAB/R2026bmacOS
To start the installer on macOS systems, unzip the dmg file and double-click the
installer.
To complete the installation, follow the installer instructions, entering the File Installation Key and license file when prompted.
On macOS systems, the default installation folder is:
/Applications/MATLAB_R2026b.appTroubleshooting
If you have trouble installing MATLAB products, review the following common issues that can occur during the installation process. If you still have problems, contact support. In your support request, provide any error messages, log files, or screenshots related to the problem.
Unable to Locate the Product Files for Installation
A missing installation files error, indicating that MATLAB cannot locate the product files for installation, typically means that you are trying to install offline with the online installer. Repeat the steps in Download Installer and Products, making sure that 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,
change where the installer stores these files. For more information, see How can I
change the temp directory the MATLAB installer uses?