Main Content

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.

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.

MathWorks Account

To install MathWorks products, you must have a MathWorks Account or access to one. If you have an individual license, a MathWorks Account was created for you during your purchase.

If you do not have a MathWorks Account, select one of the following procedures determined by your situation:

Your SituationAction

You are using your university’s license.

Go to your institution's portal to install.

You are using your company’s (network) license.

After you have created your MathWorks Account and retrieved the network license file from your license or network administrator, you can continue to Step 1. Sign in to Your MathWorks Account.

You are using your company’s Enterprise license.

See your license administrator.

You do not have a product license or trial.

Go to the MathWorks Store.

Make Sure Your System Meets Requirements

Before you begin, see System Requirements for MATLAB.

Install Multiple Releases

You can install multiple releases on the same machine. For example, you can have both R2022a and R2022b, or R2022b and the prerelease of R2023a. Each release must be installed into its own folder.

Troubleshoot Connection Issues During Installation

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).

If you lose internet connection while installing, you will need to rerun the installer. If you continue to have connection issues:

  • Create a more reliable internet connection (either moving closer to the router or using an ethernet cable).

  • Follow the procedure in Install Products Using File Installation Key, which requires a computer with an internet connection to download the installer files but then the installation can be done on the target computer while offline (these can be the same computer).

For additional suggestions on diagnosing internet connection issues, see this MATLAB Answer.

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?

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 must enter the verification code sent to your primary method when you signed in to your MathWorks Account.

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.

When the download is complete, follow your platform-specific instructions to start the installer.


On Windows® systems, the default installation directory is:

C:\Program Files\MATLAB\R2023a

To launch the installer on Windows systems:

  1. Double-click the matlab_R2023a_win64.exe installer file to launch the installer.

  2. When asked if you want to allow the application to make changes, answer Yes.

  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.


On Linux® systems, the default installation directory is:



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 installer archive to the matlab_R2023a_glnxa64 directory by entering:

    unzip -d matlab_R2023a_glnxa64

  2. Navigate to the matlab_R2023a_glnxa64 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:

      sudo ./install

      If the installer fails to launch as root, it might not have access to the display. 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.


On macOS systems, the default installation directory is:


To install on macOS systems:

  1. Double-click the file to unzip the disk image.

  2. Double-click the matlab_R2023a_maci64.dmg disk image file to mount the virtual disk.

  3. Double-click the InstallForMacOSX 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.

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 one of the procedures in Have End Users Install Products or you can ask your administrator for an Activation Key (see following section).

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

Select Enter Activation Key to link to another license.

Network License Users Only

If you choose to link the network license to your MathWorks Account, after you select the network license, you will be prompted for the network license file (license.dat that you got from your administrator). Enter the path to the license file and click Next to continue installing.

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 Default Folder

The installation process creates a default installation folder based on your operating system and the release version. For instance, the default installation folder for R2023a is as follows:

Operating SystemDefault Installation Folder


C:\Program Files\MATLAB\R2023a





To accept the default installation folder, click OK.

Specify Different Folder

To select a different folder click Browse to specify an existing folder.

To select a folder that does not exist, enter the path and file name you want, and 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 matlab and mex scripts. Specify a folder to which you have write access and that is common to all the user paths on this computer, such as /usr/local/bin.

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.


For server products such as MATLAB Parallel Server™, MATLAB Web App Server™, MATLAB Production Server™, you must navigate to the installation directory and execute commands to set up the server. For details, see Additional Steps for Server Products.

Additional Steps for Server Products

MathWorks server products require additional steps to be executed to set up the server. For server product specific instructions, consult the following table for your product:


MATLAB Parallel Server

Choose Solution to Install and Configure MATLAB Parallel Server (MATLAB Parallel Server)

MATLAB Online Server™

Perform Minimal MATLAB Online Server Installation on Single Machine (MATLAB Online Server)

MATLAB Web App Server

Set Up MATLAB Web App Server (MATLAB Web App Server)

MATLAB Production Server

Set up server instances using either from command line or the dashboard interface:

Related Topics