Install Products Using Internet Connection
This procedure is the fastest and easiest for installing to a single computer. You must have a MathWorks® Account, a license linked to that account, and an active Internet connection. If you have an Activation Key, you can use that instead of your linked license. If you do not have an Internet connection, follow the instructions in Install Products Using File Installation Key.
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).
Before you begin, see System Requirements for MATLAB.
Installing on Shared Computers
You must have the correct permissions to install the software. If you have questions about permissions, ask your system administrator.
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 1. Sign in to Your MathWorks Account
Sign in to your MathWorks Account with your user name and password.
If you have Two-Step Verification enabled in your MathWorks Account, you will be prompted to enter the verification code sent to your primary method when you signed in to your MathWorks Account. If you do not have Two-Step Verification enabled, you can go directly to the next step.
If you do not have a MathWorks Account, select one of the following procedures determined by your situation:
You are using your university’s license.
Go to your institution's portal.
You are using your company’s license.
You do not have a product license or trial.
Go to the MathWorks Store.
When you are ready, go to the next step.
Step 2. Download and Run Installer
The MathWorks product installer you download contains only the files that the installer needs to run on your selected platform, not the product files. Run the installer to select products that you want to install on the computer where you are signed in. The installer downloads the products that it needs from MathWorks.
From the Downloads page on the MathWorks website, select the release you want to install and the platform of the computer that you are installing on.
Start the installer. When asked if you want to allow the application to make changes, answer Yes.
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.
Step 3. Accept License Agreement
Review the software license agreement. The license agreement is a legal contract between MathWorks and you that specifies how you are allowed to use MathWorks software and our terms for that use. Some MathWorks products require that you also agree to the terms and conditions for third-party software used in its programs and for application development with its programs, which may be different from or additional to those in The MathWorks, Inc. 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. Select License or Enter Activation Key
Use a License
Select a license from the list.
If you do not have any licenses listed or you do not see the license you want to use:
You may need to link a license with your account. See Link a License on the MathWorks website.
You may be on an organizational license. Follow the steps in "Use an Activation Key" in the next topic.
If you are using a Student license, accept the Student Use Policy when prompted.
If you are still unsure of what to do, contact your administrator or Contact Support on the MathWorks website.
Use an Activation Key
If you want to install products on a license that is not linked to your MathWorks Account, ask your administrator for the Activation Key. The administrator on the license can retrieve the key by going to the License Center on the MathWorks website. If you are using a trial license, go to https://www.mathworks.com/licensecenter/trials.
Select Enter Activation Key to link to another license.
Step 5. Choose Authentication Option
The authentication option is available to Licensed Named Users only.
During installation, you can activate the software right away and you will not require an Internet connection (for authentication) when you use MathWorks software thereafter on this computer. The activation process stores a license file that grants you the right to use the software.
If multiple users are expected to use this computer, or this software is being used in a cloud environment, you can select to authenticate the software each time it is started. This option requires each user to sign in to their MathWorks Account to use MATLAB.
MathWorks uses the account information to grant license rights. With this option, MATLAB periodically checks if the connection to MathWorks is still active. If it cannot detect an active connection after a certain period of time, it terminates the session.
Step 6. Confirm User
The software assumes that the person installing it is also the person using the software. If you are installing the software for someone else, change the user name (login name) to the intended end user.
Step 7. 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.
Step 8. Select Products
The Product Selection list shows all the products associated with the license you selected, or with the Activation 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 9. 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 10. Confirm Selections and Install
Displays 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.