MATLAB Answers

Is MATLAB supported on Apple Silicon Macs?

10,165 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. 
  46 Comments
Walter Roberson
Walter Roberson on 24 Sep 2021 at 5:48
Mathworks does not commit to exact release dates in advance. They have internal deadlines for various aspects such as go/no-go on new features, but after that it is "as soon as all the parts are ready". That can include time to iron out priority problems identified during testing.
Documentation such as release notes and advertisements cannot be finalized until all of the go/no-go decisions are made.
Software testing usually involves assuming that all features will be released, so if any features are withdrawn then additional software testing is required.
Historically, it also included a wait period for the final software version to be pressed onto DVD, as the new version is available for physical order on day of release.
The last several years, releases have never been before 1730 Eastern time the day of release. After, that is, peak site usage for the day.

Sign in to comment.

More Answers (14)

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


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?
  12 Comments
Tommy Wilson
Tommy Wilson on 20 Sep 2021 at 2:14
For what it's worth, I'm running the new M1 chip on a 2021 MBP (Big Sur 11.6) and was also experiencing a lot of lag.
The JVM that shipped with the R2021a in my distribution was Oracle 1.8. I changed it to run on AdoptOpenJDK-8 precompiled binaries, and the lag seems to be much improved so far. See instructions on installing AdoptOpenJDK-8 via Brew here and changing/identifying Matlab's JVM here.
Note also the deprecation of:
>> brew cask install adoptopenjdk8
Which is now:
>> brew install --cask adoptopenjdk8
Hope that helps someone!

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
  1 Comment
Robert Hulsey
Robert Hulsey on 24 Aug 2021
It takes a while because until they make full ARM support with Matlab your mac has to run an additional program (Rosetta) to translate all of the commands that Matlab gives so the computer can understand them.

Sign in to comment.


Stanislas Grare
Stanislas Grare on 23 Sep 2021 at 8:33
Matlab 2021b on macbook m1 Air 256/16

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.


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
  5 Comments
Walter Roberson
Walter Roberson on 19 Jul 2021
For laughs, I ran R2021a for Windows inside a virtual machine hosted on my 2013 iMac. The performance ratio was about 20. (Graphics for that configuration have to be done in software rather than with hardware assistance.)

Sign in to comment.


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.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!