Download and Install MATLAB - MATLAB & Simulink (2024)

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 Install

Before you install MATLAB, keep these points in mind:

  • To download the MATLAB installer, you must have a MathWorks Account.

    • If you have a MATLAB license through your organization, use your organization's email address when creating the account or signing in to the account.

    • If you bought a license or got a trial directly from the MathWorks Store, sign in to the account you used to purchase the license.

  • Your computer must meet the MATLAB system requirements for your platform:

    • MATLAB System Requirements for Windows

    • MATLAB System Requirements for Linux

    • MATLAB System Requirements for Mac

Install MATLAB

To install MATLAB, download the installer for your platform and MATLAB release from MathWorks Downloads. Then, run the installer and follow the prompts to complete the installation.

Security Considerations

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.

This table provides more detailed installation instructions for each platform.

PlatformInstructions
Windows

To install MATLAB on Windows:

  1. From MathWorks Downloads, select a MATLAB release and download the installer.

  2. Double-click the downloaded installer and 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:

  1. From MathWorks Downloads, select a MATLAB release and download the installer.

  2. Unzip the downloaded installer files and navigate to the unzipped folder. For example, use these commands to unzip the installer for release R20XXy to a folder of the same name, and then navigate to the folder.

    unzip matlab_R20XXy_Linux.zip -d ./matlab_R20XXy_Linuxcd ./matlab_R20XXy_Linux
  3. In the installation folder, run the install script and follow the prompts to complete the installation.

    xhost +SI:localuser:rootsudo -H ./installxhost -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.

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

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

macOS

To install MATLAB on macOS:

  1. From MathWorks Downloads, select a MATLAB release and download the installer.

  2. Unzip the downloaded DMG file and double-click it to mount the installer as a virtual disk.

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

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

    Default installation folder: /Applications/MATLAB_R20XXy.app

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

If you need to install additional products later, use the Add-On Explorer in MATLAB. On the Home tab, in the Environment section, click Add-Ons.

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.

  • Why will MATLAB not start up properly on my Windows based system?

  • Why will MATLAB not start up properly on my Linux machine?

  • Why will MATLAB not start up properly on macOS?

Related Topics

  • Add Toolboxes and Products to MATLAB Installation
  • Get Update of Installed MATLAB Release
  • Get New MATLAB Release
Download and Install MATLAB
- MATLAB & Simulink (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Trent Wehner

Last Updated:

Views: 6217

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.