Download and Install MATLAB (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 (2024)

FAQs

How do I download and install MATLAB? ›

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.

How many times can I download MATLAB? ›

You can install the software onto an indefinite number of devices. The number of devices you can activate on depends upon what kind of license you have: Student license: 1 device. Home license: 1 device.

How long does it take MATLAB to install? ›

Be prepared to spend 30-45 mins to complete MATLAB and Simulink install.

Can I get MATLAB for free as a student? ›

More than 2,200 schools have a Campus-Wide License, which provides unlimited use of MATLAB and Simulink to all students, faculty, staff, and researchers, on and off campus, on any device. To gain access to these tools, create a MathWorks Account using your university email address.

Can I use MATLAB without downloading? ›

With MATLAB Online, your users can run MATLAB® from their web browsers without downloading, installing, or configuring desktop software on their own computers.

Can I install MATLAB for free? ›

A trial provides free, 30-day unlimited use of MATLAB and over 70 products directly on your computer as well as online To learn more about trials, go to the Trial page.

Is MATLAB costly? ›

This MathWorks page for students says that the base MATLAB + SimuLink costs USD 45 and USD 5 for each additional toolbox. Your college might already have a campus license, in which case you are lucky and just have to find the procedure defined by your college to obtain the license key.

Is MATLAB a monthly subscription? ›

Learn more about MATLAB Home License. Provides the right to use the software for a 12-month period, and MathWorks Software Maintenance Service is included in the annual license fee.

How much time I can learn MATLAB? ›

If you're a novice programmer, you can expect it to take a little longer than if you were a more seasoned programmer. Someone who can afford to devote all their time to MATLAB can finish learning the language in two weeks. If you have a lot of other responsibilities, however, it will take you longer to complete.

How much space do I need to install MATLAB? ›

Minimum of 4 GB RAM per MATLAB worker is recommended. If you are using Simulink, 8GB RAM per worker is recommended. Approximately 32GB of disk space to accommodate a typical complete installation of MATLAB Parallel Server.

Is it difficult to use MATLAB? ›

MATLAB is beginner-friendly and typically isn't too difficult to learn. As mentioned, MATLAB is a high-level language so the syntax is fairly straightforward and uses language very similar to standard English.

Is MATLAB better than Python? ›

Industries heavily reliant on simulations, control systems, and complex mathematical modeling, such as aerospace and automotive, often prefer MATLAB. Python's broader applications open up more opportunities in diverse fields.

Is there a free alternative to MATLAB? ›

Scilab: Scilab is another open-source option for scientific computing that runs across Windows, Linux and Mac. Scilab is the second best-known MATLAB alternative (after Octave). It is very similar to MATLAB but unlike Octave, compatibility with MATLAB was not one of the major goals of the developers.

Is MATLAB hard to learn? ›

MATLAB language is the first (and often only) programming language for many engineers and scientists because the matrix math and array orientation of the language makes it easy to learn and apply to engineering and scientific problem-solving.

How do I download MATLAB on my laptop? ›

To download and install MATLAB, Simulink, and other MathWorks products:
  1. Sign in to your MathWorks Account or create a new one.
  2. Download your products from MathWorks Downloads.
  3. Follow the prompts to install the products for which you are licensed.

Can MATLAB be installed on a Mac? ›

Any Mac able to run macOS Monterey has a GPU able to run MATLAB. GPU acceleration with Parallel Computing Toolbox is not available on macOS.

How do I install and open MATLAB? ›

Unzip the MATLAB Runtime installer at the terminal using the unzip command. Start the MATLAB Runtime installer. Double-click the file setup.exe from the extracted files to start the installer. sudo is only required if you install to a directory that you do not have write access to.

References

Top Articles
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 5942

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.