Main Content

Download and Install MATLAB

You can install MATLAB, Simulink, and accompanying toolboxes and blocksets on your personal Windows, Linux, or macOS computer by downloading and running the interactive MATLAB installer. Before you download and install MATLAB, check that your computer meets the system requirements for your platform:

Download Installer

Download the installer for your platform and MATLAB release from the link below:

Download for Windows, Linux, or Mac

MathWorks Downloads Page (sign-in required)

  • If you have a MATLAB license through your organization, use your organization's email address to sign in.

  • If you obtained a license from the MathWorks Store, sign in to the account you used to obtain the license.

Install MATLAB

Using the downloaded installer, follow the instructions in the table below for your platform. When installing products, use a secure location, limit privileges when possible, and monitor the installation. For more details, see Security Considerations for Installing MathWorks Products.

PlatformInstructions
Windows

To install MATLAB on Windows, follow these steps:

  1. Double-click the installer downloaded from the MathWorks Downloads page.

  2. Follow the prompts to complete the installation.

    Default installation folder: C:\Program Files\MATLAB\R20XXy

To start MATLAB after the installation is complete, see Start MATLAB on Windows Platforms (MATLAB).

Linux

To install MATLAB on Linux, follow these steps:

  1. Unzip the installer files downloaded from the MathWorks Downloads page and navigate to the unzipped folder. For example, use these commands to unzip the installer for release R2025b to a folder of the same name, and then navigate to the folder.

    unzip matlab_R2025b_Linux.zip -d ./matlab_R2025b_Linux
    cd ./matlab_R2025b_Linux

  2. In the installation folder, run the install script to open the installer.

    xhost +SI:localuser:root
    sudo -H ./install
    xhost -SI:localuser:root

    sudo is required only when you install products to a folder where you do not have write permissions, which might include the default installation folder. The xhost commands are required only when you install products as the root user with sudo. These commands temporarily give the root user access to the graphical display required to run the installer.

  3. Follow the prompts to complete the installation.

    Default installation folder: /usr/local/MATLAB/R20XXy

To start MATLAB after the installation is complete, see Start MATLAB on Linux Platforms (MATLAB).

Mac

To install MATLAB on Mac, follow these steps:

  1. Unzip the DMG file downloaded from the MathWorks Downloads page.

  2. Double-click the unzipped file to mount the installer as a virtual disk.

  3. Double-click the installer and follow the prompts to complete the installation.

    Default installation folder: /Applications/MATLAB_R20XXy.app

  4. (Apple silicon Macs only) Install a Java runtime on your Mac. To get a compatible runtime, see MATLAB on Apple Silicon Macs.

To start MATLAB after the installation is complete, see Start MATLAB on macOS Platforms (MATLAB).

To access additional resources for which you are licensed, go to matlab.mathworks.com and sign in to your MathWorks Account. Resources include MATLAB Online (access MATLAB from a web browser) and online training (self-paced interactive courses).

Troubleshoot Common Installation Issues

If you have trouble installing MATLAB products, review the following common issues that might occur during the installation process. If you continue to have problems, contact support. Provide any error messages, log files, or screenshots related to the problem in your help request.

Internet Connection Issues

If you lose your internet connection while installing, try rerunning the installer. If you continue to have connection issues, see Why do I get a connection error when installing or activating MATLAB or other MathWorks products?

tmp Folder Not Large Enough

During installation, the MathWorks installer temporarily stores files in the tmp folder of your platform. If you get an error that your tmp folder is not large enough to complete the installation, you can change where the installer stores these files. See How can I change the temp directory the MATLAB installer uses?

Licensing Issues

During installation, the license you want to select might not be listed. Or, you might be prompted to enter an Activation Key and not have the option to select a license.

  • If your MathWorks Account is tied to an organization, such as a company or university, contact your IT department to get the license information needed to complete the installation.

  • If your MathWorks Account is not tied to an organization, you might need to purchase a new license or get a trial from the MathWorks Store.

MATLAB Does Not Start

If MATLAB does not start after installation, try following the potential solutions listed in the MATLAB Answer for your platform.

See Also

Topics