Install MathWorks Products on a Computer without an Internet Connection You will need a computer which has an internet connection to obtain these items for the offline computer that you want to install MATLAB on: Step 1. Download the Offline Installation Files on a computer with an unrestricted internet connection "Offline Installation Files" refers to either the "ISO" which contains all products, or "Download-only" files which contain a specific subset of products.Prerequisites
Only License Administrators on licenses that are not Student nor Home licenses can download the ISO. How do I mount the ISO?
License End Users should use the MATLAB installer to obtain download-only files instead. Note that this will work for any End User with download privileges for R2020a and newer. Non-License Administrators, Student licenses, and any user on a Home licenses will not have this option for R2014a-R2019b.
- Download the installer from mathworks.com/downloads for the release you want.
- Run the installer, then sign in to your MathWorks Account and accept the license agreement.
- Using theAdvanced Optionsdropdown menu, select “I want to download without installing”.
Concurrent and Network Named User licenses only:
Skip steps 2 and 3 below, the person(s) maintaining the Network License Manager must provide you with a license.dat/network.lic file and File Installation Key instead. See: Who is my License Administrator?
If you are a License Administrator and are looking for your File Installation Key, see:Where can I find the Activation Key and File Installation Key (FIK) for my license?
Step 2. Retrieve the Volume Serial Number/MAC Address and Login Name of the Offline Computer.
Windows
- Open Windows Command Prompt. You can accomplish this by opening the Windows Start Menu, typing in "Command Prompt" and opening the first result.
- Enter vol c: and then press Enter on keyboard to get the Volume Serial Number.
- Enter echo %username% to get the computer login name.
macOS
- To get the MAC address, open Terminal and enter ifconfig en0 | grep ether.
- Enter whoami to get the computer login name.
Linux
- To get the MAC Address,open a Bash shell and enter ip addr | grep ether to obtain a MAC address.
- Enter whoami to get the computer login name.
Step 3. Activate the Offline Computer to retrieve the File Installation Key (FIK) and the License File.
Individual and Designated Computer licenses:
- Navigate to the License Center and login with your MathWorks account.
- Click the license number, then “Install and Activate”, then “Activate a Computer”.
- Paste the MAC address or Volume Serial Number from earlier in the “Host ID” field,then paste the username in the “Computer Login Name” field, and then click "Continue".
- Download the license.lic file and copy the File Installation Key somewhere you can access later.
Step 4. Transfer all 3 prerequisites to offline computer:Offline Installation Files, License File and FIK.
Install Procedure on the Offline/Destination Computer
Step 1. Run the Installer from the Offline Installation files that you downloaded from Step 1. If you downloaded the ISO, run the installer from there. If you used the download-only option from the original installer, make sure that you run the newly created offline installer. This is typically located in your Downloads folder in a sub-folder called "MathWorks".
The installer file for the target platform is in the root of the offline installation files folder:
- Windows—setup.exe
- Linux—install
- macOS (Intel processor)—InstallForMacOSIntelProcessor
- macOS (Apple silicon) —InstallForMacOSAppleSilicon
Step 2. Use the “Advanced Options” dropdown menu.
- Select, "I have a File Installation Key". Note, you may already be in this workflow if opening the installer on an offline machine.
Step 3. Agree to the license agreement.
Step 4. Enter File Installation Key.
Step 5. Click “Browse” to select the License File.
Step 6. Select Destination Folder.
- Accept the default installation folder or clickBrowseto select a different one.
Step 7. Select Products
- The Product Selection list shows all the products associated with the File Installation Key you specified. Check the box next to each product you want to install.
Step 8. Shortcut Options
- Windows — You can add shortcuts for MATLAB in theStartMenu and on the Desktop.
- Linux — You can choose to create a symbolic link to run MATLAB from any directory.
Step 9. Confirm Selections and Begin Installation