MATLAB Answers

Is MATLAB supported on Apple Silicon Macs?

6,859 views (last 30 days)
Macs with an Apple silicon processor such as the Apple M1 have two ways to run applications. Applications built for Apple silicon run natively, while apps built for Intel processors run in the Rosetta 2 environment. Which method does MATLAB support? 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 11 Dec 2020
Edited: MathWorks Support Team on 11 Dec 2020
Rosetta 2 
MATLAB R2020b Update 3 and later are supported on Apple silicon Macs through the Rosetta 2 translation environment. Earlier releases of MATLAB may run but are not fully supported. 
There are two products which are available on Intel-based Macs but are not compatible with the Rosetta 2 environment: Polyspace and Simulink Desktop Real-Time. 
Native Apple Silicon 
A version of MATLAB which runs natively on Apple silicon is in development. This answer will be updated with more information as development progresses. 
  33 Comments
Rik
Rik on 20 Jun 2021 at 7:31
@Sangjae They will probably not make any public statements prior to updating this answer. Any definitive answer will probably be very short term (e.g. in the release notes of a prerelease). I would not expect it for R2021b.

Sign in to comment.

More Answers (13)

BH
BH on 18 Nov 2020
I installed 2020b on my M1 MBP today. Just thought I’d post here to let you know it runs even if it’s not officially supported
  19 Comments
Walter Roberson
Walter Roberson on 28 May 2021 at 5:10
I expect R2023b for the fully native version.

Sign in to comment.


Saurabh Vyas
Saurabh Vyas on 24 Nov 2020
Edited: Saurabh Vyas on 24 Nov 2020
I feel MATLAB Online is the way to go till we get the version built to run on Apple silicon. It's got almost everything students require and can be run on safari/chrome without an install. It also has Simulink support!!
  4 Comments
Walter Roberson
Walter Roberson on 30 Nov 2020
MATLAB Online is not intended as a heavy duty computing facility. It might perhaps be closer to Tuk Tuk than Jaguar. But in some cases, Tuk Tuk can be very useful to have around.

Sign in to comment.


Annie Leonhart
Annie Leonhart on 8 Dec 2020
All you need to do to make it work is go to "show package content" Matlab/xxxx/bin/maci64/matlabwindow.app that's pretty much it. Click that and it'll run. Nothing special you need to do. Create an alias on your dock.
Been using 2020b for weeks with 0 issues. Runs just as good as it does on PC. Fully functional.
  2 Comments
Konstantin Yem
Konstantin Yem on 12 Mar 2021
I did the same steps, the matlab window appears and then closes down with that message bellow.
Could you please help what this might be ?
Last login: Fri Mar 12 20:22:04 on ttys000
@-MacBook-Pro ~ % /Applications/MATLAB_R2020b.app/bin/maci64/MATLABWindow.app/Contents/MacOS/MATLABWindow ; exit;
Cannot locate or initialize class com/mathworks/jmi/OpaqueJavaInterface.
java.lang.NoClassDefFoundError: com/mathworks/jmi/OpaqueJavaInterface
Caused by: java.lang.ClassNotFoundException: com.mathworks.jmi.OpaqueJavaInterface
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Sign in to comment.


Moritz Kb
Moritz Kb on 12 Dec 2020
It works fine on the new MBA although battery consumption is huge, meaning 3hrs from 100% to 0%.
Hopefully this will improve when it’s running natively... Also 2D and 3D times in ‘bench’ are very Slow probably because they don’t run on the GPU cores?
  11 Comments
Mattia Busana
Mattia Busana on 22 Dec 2020
Does someone have problems with the interface? On my MB Pro M1 everything works fine, except the UI (for example Save and Open button) that is extremely laggish, I need to click 3-4 times to activate the button.

Sign in to comment.


Ongun Palaoglu
Ongun Palaoglu on 1 Feb 2021
I am using mac mini m1, it was very good. right now it is very slow, clicking on function takes a delay. i dont understand why

Pieter Durman
Pieter Durman on 24 Apr 2021
I have just bought a new MacBook pro M1 2020. I mosly use the Deep learning toolbox and Global Optimisation toolbox for university work. It has worked very well so far.
  2 Comments
Walter Roberson
Walter Roberson on 25 Apr 2021
Unlikely, as the M1 do not use Nvidia GPUs.

Sign in to comment.


Kumar Yashasvi
Kumar Yashasvi on 16 Dec 2020
yes, the newer version of matlab will surely support

master TOM
master TOM on 17 Dec 2020
Will MATLAB R2021a run natively on Apple sillicon?
  2 Comments

Sign in to comment.


cr
cr on 23 Dec 2020
Edited: cr on 23 Dec 2020
I cannot believe the results (below) I'm seeing on my MBP-M1 with R2019b. R2018a showed slower benchmarks as expected for Matlab running with Rosetta especially on graphics front. But strangely R2019b is zipping fast.
Results on R2019b, connected to power and no peripherals.
Out of curiosity, I connected an external monitor whose resolution is only somewhat lower than MBPs (2560x1080) and re-ran bench. Graphics seemed way faster, like running Matlab on Intel. The results are incredible.
Results on external monitor:
  6 Comments
Bruno Luong
Bruno Luong on 23 Dec 2020
Already reported. None with update 3 though.

Sign in to comment.


Gal Barkai
Gal Barkai on 1 Jan 2021
Just got MBP with the M1, there are "straight out of the box" benchmarks for 2020b through Rosetta 2:
The grahics scores are REALLY bad right now, but the rest are decent. Hopefully it will improve soon

cr
cr on 5 Jan 2021
Edited: cr on 5 Jan 2021
UPDATE 1: Text comparison tool in R2019b not working on M1 mac. Got the following error popup.
  2 Comments
cr
cr on 13 Jan 2021
Yes, the issue still exists. But since MW has already said versions prior to 2020b, update3 are not supported, there is no point opening a ticket.

Sign in to comment.


Petar Apostolov
Petar Apostolov on 23 Jan 2021
Well i got this and i am pleased with that. I know it will get with the next updates even faster. And for that price range... I have the Mac Mini with 16 gb and 512 ssd. But strange how fast 2019 is.

FP Am
FP Am on 17 Feb 2021
Edited: FP Am on 17 Feb 2021
For anyone interested:
Macbook Air M1, 8 GB RAM. Pretty zippy!
This is run through terminal+Atom, MATLAB Version: 9.9.0.1570001 (R2020b) Update 4
  2 Comments
Walter Roberson
Walter Roberson on 20 Feb 2021
R2020b Update 3 or later runs on Apple M1 under Rosetta2; not all parts of it work yet. Polyspace in particular is not available for M1 yet.

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!