Install Products Using File Installation Key
Use this procedure when the computer you want to install MathWorks® products on does not have an Internet connection. However, you need an Internet connection to the get the File Installation Key and license file, and to download the installer.
Individual license users: You can get the license file and file installation key from License Center. See Prerequisites.
Network license administrators and end users:
Admins can get the license file and file installation key from License Center. See Prerequisites.
Network license end users can get these items from their license administrator.
You can use this procedure even if you have an Internet connection. You are not required to disconnect the target computer.
Installing on Shared Computers
You must have the correct permissions to install the software. If you have questions about permissions, ask your system administrator.
You must perform the following steps before you can install using a file installation key.
Step 1. Review Requirements
Your system must meet certain requirements to run MATLAB®. See System Requirements for MATLAB before performing an installation.
Step 2. Get License File and Installation Key
Activate and obtain your license file and get the file installation key using the License Center. If you are using an organizational license, get the files from your administrator. If you are using a trial license, go to https://www.mathworks.com/licensecenter/trials.
First: On a computer with an internet connection:
Sign in to your MathWorks Account and click the license you want to use.
Go to the Install and Activate tab. If you have not activated a computer for this license yet, click Activate to activate the license, download the license file, and get the file installation key.
If you have already activated the license, and you have the file installation key, you can click the download arrow or email icon under Get License File instead.
Download and save these items on removable storage (for example, a USB stick).
Second: On the target computer:
Copy the license file and file installation key to the target computer.
Step 3: Download Installer and Product Files
Get the product installer and product files using the procedure in Download Products Without Installing. Make sure you follow step 6 for moving the installation files along with the license file and file installation key to the target computer.
Follow the instructions in the next section to run the installer using a file installation key.
Install Procedure Using File Installation Key
Step 1. Start Installer
Start the installer. When prompted to allow the app to make changes, answer Yes.
Consider disabling antivirus software and Internet security applications on your computer during installation. These applications can slow the installation process or cause it to appear unresponsive (or to hang).
Step 2. 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 3. Enter File Installation Key
Enter the File Installation Key where prompted.
If the product files are not found by the installer, you will get an error before you enter the File Installation Key. This message includes instructions for downloading the necessary files.
If you get a message saying that the key is invalid, check to make sure you entered the key correctly. If necessary, get a new File Installation Key.
If you get a message saying that the key is invalid for the release you are trying to install, see your administrator or go to the License Center to get the files for the File Installation Key you have. If you are using a trial license, go to https://www.mathworks.com/licensecenter/trials.
Step 4. Select License File
The license file is required for installation when you use a File Installation Key. It identifies which products you can run.
The file must be a valid license file.
If the installer detects that the license file is invalid for any reason, use a different license file or get a new license file.
Step 5. Select Destination Folder
The destination folder is 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.
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:
You can use any alphanumeric character and some special characters, such as underscores.
You cannot use non-English characters.
Folder names cannot contain invalid characters and the destination cannot be named “private.”
If you make a mistake while entering a folder name and want to start over, click Restore Default.
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?
Step 6. Select Products
The Product Selection list shows all the products associated with the File Installation Key you specified.
To install a particular product, check the box next to its name. MATLAB is selected by default.
If you do not want to install a particular product, clear the check box next to its name.
If any of your selected products have a dependency on a product that was not selected, you will get a Product Dependencies warning and you will be asked to add the dependent products.
Dependent products are optional and you can choose to add or not add them. However, while you are still able to install the selected products without dependent products, you may not be able to access all the functionality you require.
Required products must be installed.
Step 7. 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.
Windows® — You can choose to put shortcuts for starting MATLAB in the Start menu and on the desktop.
Linux® — You can specify whether you want to create symbolic links to the
mexscripts. Specify a folder to which you have write access and that is common to all the user paths on this computer, such as
Step 8. 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.
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?