Apple's M1 native support

Are there any updates on when will Apple's M1 chip be natively supported by Matlab?
Any chance this could be on realease 2021b?
I had to go back to an Intel based Mac due the frequent crashes (3 to 4 times a day) experienced while running Matlab 2021a on a 16 GB 8-core M1 Macbook Pro with Big Sur.
I understand that the native version is under development, but it's been months since so.
Could someone please provide some insights on this? It's really causing some problems to some of us ...
Thanks in advance.

16 Commenti

Truman
Truman il 5 Ago 2021
Okay Mathworks - what's the story. When wil M1 native support be relased. Mathematica has had native M1 support from day one. All major image editors have native M1 support. Where is Mathworks on this. Will 2021b provide native support to M1? Matlab along with the toolboxes are not inepensive products. Time to give the users a schedue - don't you think.
Rik
Rik il 5 Ago 2021
I don't really see the use of complaining here. Contact support instead.
Anyone who knows will be under an NDA, so the only people who can comment are those who don't know.
From what I understand, Rosetta2 offers most of the performance already. Frequent crashes can probably be fixed by updates (R2021a u4 is available since this week(?), you could check the changelog).
Walter Roberson
Walter Roberson il 5 Ago 2021
Modificato: Walter Roberson il 5 Ago 2021
I expect R2023b for the fully native version.
That's my estimate. Taking into account Polyspace, which has quite different interal processes.
What is your evidence for the claim that Mathematica has had native M1 support "from day one" ?
According to https://doesitarm.com/app/wolfram-mathematica/ the first Mathematica release with native Mathematica support was 12.3.1, which checks with the Mathematica release notes https://www.wolfram.com/mathematica/quick-revision-history.html which announced native M1 support for 12.3.1 in July 2021.
Wolfram has a chart showing what parts of Mathematica 12.0* and 12.1* work with M1, but that was under Rosetta 2. For example they indicate 12.0 was supported, but 12.0 was released in 2019, which was before engineering samples of the M1 were available to the public, so it would have been very difficult for the M1 to have been supported "natively" in the 2019 time frame.
Royi Avital
Royi Avital il 8 Set 2021
I think the challange here would be supporting a new and different BLAS / LAPACK library. But once it is done, if the API is general enough (Like a trampoline approach) then it means the support for Ryzen CPU's can be better as well (By using AMD's BLIS instead of MKL).
Hauke Fath
Hauke Fath il 20 Ott 2021
BLAS is pluggable already -- setting 'BLAS_VERSION=/usr/lib/libblas.so' in the evironment will use the system's (Arch Linux) OpenBLAS instead of what Mathworks ships on our Ryzen machines.
Is there any update on native M1 support? I see these comments are very old and I am having series issues with MATLAB
Matlab 2023a is not supporting apple silicon natively. Again. How long shall we wait for native support?
R2022b MATLAB Apple Silicon beta is expiring June 30th. Any information on whether a native MATLAB release/beta will be available after that? I actually rely on native support. Thanks for the update!
Rik
Rik il 8 Giu 2023
@Daniel Kiefer The R2023b prerelease should be out somewhere this month. I know there were plans to include native support (at least for most core Matlab parts) in the R2023b prerelease. You should check if you are elligible. Note that using a pre-release comes with a confidentiallity clause, so you are not allowed to publicly share what is or is not supported/new.
It's good to know, thanks a lot. I will look out for the prerelease in the hope that I will have access.
T Bui
T Bui il 20 Giu 2023
Modificato: Rik il 20 Giu 2023
@Daniel Kiefer R2023b is released today 20th Jun with core Matlab and Simulink natively supported on Apple Silicon. Let's check and see
----------------------------------
Edit/correction @Rik: R2023b will be available in 'the september timeframe', but pre-releases are available a few months earlier.
Daniel Kiefer
Daniel Kiefer il 20 Giu 2023
Thanks for the heads up. I installed the R2023b pre-release and my test codes run seamlessly so far.
Mike Croucher
Mike Croucher il 23 Giu 2023
More details about the R2023b pre-release runnning natively on Apple Silicon at this blog post Native Apple Silicon Support in the MATLAB/Simulink R2023b pre-release » The MATLAB Blog - MATLAB & Simulink (mathworks.com)
Yash
Yash il 23 Giu 2023
Does it now support the Matlab engine for Python. I recall it did not work for Apple silicon earlier.

Accedi per commentare.

 Risposta accettata

Selahattin Imrohoroglu
Selahattin Imrohoroglu il 25 Nov 2021
Modificato: Selahattin Imrohoroglu il 25 Nov 2021

0 voti

I have not run any of my Matlab code yet but executing bench gives the following for my MacBook Pro M1 Max with 64GB memory:

7 Commenti

Michael Brown
Michael Brown il 25 Nov 2021
Two points:
  1. I'm impressed with your graphics (2D 3D) numbers. Why are they so much better than what I am seeing on my mac?
  2. These bench tests do not really show the strengths of the new mac architecture. I use a stress test of a large-scale inverse problem (millions of data and tens of thousands of parameters). I can push problems beyond limits of physical memory. With intel macs pushed to use the matlab-induced swap space of 10s of GB, the intel CPU would be slowed to 20-100% rather than 600% with all cores engaged. I could get the calculation to complete if I waited hours. On the M1 macbook pro the same problem slows to 400-500% rather than running at 800-900% (as it does for smaller calculations) and completes in 5 minutes. Having the memory bandwidth of 200 GB/s and SSD access at 5000-6000 MB/s makes an enormous difference (compared to 20 GB/s for DDRM4 ram and 2000MB/s for older SSD's)
Sorry for the late response. I guess the 2D and 3D numbers are better due to the newer, faster and multi-core GPUs?
I ran similar code with my 2018 MacBook Pro (2.9 GHz 6-core Intel i9, 32 GB memory), the new iMac (Apple silion, 32 GB memory) and the new M1Max MacBook Pro with 64 GB memory, and I get scores within 20-30% of each other, except for graphics output. I guess the real difference would come from very demanding and memory intensive processes.
Performance is not the real issue. Regular crashes are. I'm giving a course using Simulink in three weeks, and I'm consider dusting off my old 2015 MacBook Pro because 2021b is not stable enough on my M1 MacBook Pro.
Robin Thomas
Robin Thomas il 13 Gen 2022
I can't run Matlab at all on my MacBook Air with the M1 chip. It simply crashes too often.
Kadir Gunel
Kadir Gunel il 11 Mar 2022
Matlab still does not work on M1 chips natively. It first transforms the code from x86 via Rosetta. So, even you are happy with the quickness, expect to have more.
@Robin Thomas Did you update the Mac Os ? I am running flowlessly on M1.
Rodrigo Cerda
Rodrigo Cerda il 11 Mar 2022
I've been running Matalab 2021b (Update 3 - Feb 2022) for a couple of weeks now, natively on my MB Pro M1. That is, without installing Rosetta. It works better than when I was using Rosetta. It's faster and I haven't had any crashes so far.
Have you tried parallel processing? does it work?

Accedi per commentare.

Più risposte (6)

Oliver Woodford
Oliver Woodford il 15 Mar 2022

4 voti

MATLAB R2022a still doesn't run natively on Apple silicon. The release notes say "On Apple silicon Macs, MATLAB runs using the Rosetta 2 environment." and "A future release of MATLAB will run natively on Apple silicon."

13 Commenti

Truman
Truman il 20 Mar 2022
Yep, Mathworks seems to be a day late and a dollar short. Just about every other serious application from image editing S/W such as Adobe and Capture One to Mathematica has been supporting Apple Silicon natively. Mathworks is still making promises and not delivering. Pretty sad, actually.
Rik
Rik il 21 Mar 2022
This may sound like a snide remark, but I intend it as a serious question: why do you care?
Shouldn't you only be concerned with the actual performance? I understand the performance of Rosetta 2 is very good, so the performance you get now should be mostly fine. Mathworks is making promises that they're working on it. Did you expect a day 1 release?
At this point for me it is less about the "performance" of Rosetta 2 vs. Native and more about the stability and reliability of the program. I still am running into issues with copy and paste just not working sometimes on an M1 Pro and that can be a pretty big annoyance regardless of how fast the program actually runs.
Rik
Rik il 26 Mar 2022
I have that as well, and I pretty much only work on Windows. So native vs Rosetta 2 will probably not change that (although I haven't had it so far on R2022a, but it's still early days).
Peter Somhorst
Peter Somhorst il 28 Mar 2022
Modificato: Peter Somhorst il 28 Mar 2022
@Rik, your comment is not very helpful. No, people didn't expect a day 1 release, but we're at day 496 now and as was pointed out: plenty professional tools have moved to native support, many of which within the first 100 days. Rosetta 2 is good, but it's far from native. Many projects have time as a bottleneck, so every bit of performance counts. Stability is another concern, as stated before. Besides, people don't pay hefty licenses fees for inefficient software while the alternatives have had native support for more than a year.
Spencer Kraisler
Spencer Kraisler il 5 Apr 2022
Modificato: Spencer Kraisler il 5 Apr 2022
@Rik Not only would a native build be faster, it would allow future matlab and simulink updates to take further advantage of apple silicon. Franky I think Mathworks has taken too long to make a native build. Matlab is paid software, so I do expect really amazing performance. Although Rosetta 2 is great, I am getting sub-intel i7 performance on an m1 max. :(
Rodrigo Cerda
Rodrigo Cerda il 5 Apr 2022
Modificato: Rodrigo Cerda il 5 Apr 2022
I totally agree with Peter and Spencer. It's been way too long for Mathworks to release an M1 native version. And we don't even have a clear roadmap or estimated date for it. The only official statement is that is currently under development. A little more empathy with all of us would be greatly appreciatted ...
Rik
Rik il 6 Apr 2022
They just published a native beta for R2022a, so you can try that now.
Rik
Rik il 14 Apr 2022
@Vishnu Baldew Click on the link I posted, then follow the link on the official answer provided by Mathworks.
Jonathan
Jonathan il 6 Giu 2022
Mathematica was native quite a while ago. Day 1 isn't Day 1 for developers; they get access to hardware and compilers well before the actual hardware is released to users. I wonder if this is related to Mathworks' lazy decision to go with Java to make MATLAB multi-platform instead of just paying to write for each platform natively.
Jonathan, you would be mistaken. I named exact dates and linked evidence in https://www.mathworks.com/matlabcentral/answers/641925-is-matlab-supported-on-apple-silicon-macs#comment_1187918 and I recommend that you read the timeline there.
Umut Sayin
Umut Sayin il 8 Set 2022
Hi,
I can assure you that 2022a still runs on Intel. There is no such thing as installing or not installing Rosetta, it is part of MacOS. It is literally written on the requirements page that it uses Rosetta 2
Yash
Yash il 23 Giu 2023
Does it now support the Matlab engine for Python. I recall it did not work for Apple silicon earlier.

Accedi per commentare.

cdarling
cdarling il 14 Giu 2023

2 voti

WoW native Apple silicon support is included, as stated in this sys req for 2023b:

5 Commenti

Anton Kogios
Anton Kogios il 14 Giu 2023
Nice!
I don't know whether this warrants a "WoW" (most people expected a faster turnaround than 3 years), but it's certainly nice. However, I've switched myself and the entire bachelor program I teach for to Python in the meanwhile.
Rik
Rik il 14 Giu 2023
I don't about most people, but an expectation in the general audience tends to be fairly optimistic. It turns out that Walter's prediction (which he made mid-2021) was accurate. Matlab is a big product with a lot of moving parts. As I mentioned before: open source projects have the opportunity to be cutting edge everywhere. Mathworks needs it to be reliable. They don't need to set trends, only follow them.
I can't figure out if Mathematica 12.3.1 (July 2021) introduced support through Rosetta 2 or whether they actually do mean native ARM binaries. I also don't know how the dev cycles compare. In addition to this, Mathematica might not be a good example, since the Matlab toolboxes provide a much wider array of applications.
My R2023b estimate was for including Polyspace; I had estimated that Native M1 would be available for R2022b or R2023a without Polyspace. Polyspace will not be available natively for R2023b.
Anastasios
Anastasios il 14 Giu 2023
The installer says "install Rosetta", is it a case of only the installer having legacy code, or is it still used in bits and pieces of the native app?

Accedi per commentare.

Michael Brown
Michael Brown il 23 Nov 2021

0 voti

I'm running R2021b on a new MB Pro M1 with 32 GB and macOS 12.01. So far MATLAB is simply running as intended and seems to handle large numerical inverses that push MATLAB to 29 GB of ram usage better than the prior intel MB Pro. The times required for calculations tend to be nearly a wash - within 20-30% - even with this non-native version. It has not crashed. Below are the results of the bench command (these are not as good as the intel MB Pro - but they are not terrible). I am eagerly awaiting the native version

2 Commenti

Rodrigo Cerda
Rodrigo Cerda il 23 Nov 2021
Hi Michael.
How long have you been running Matlab on your M1 MB Pro?
My major concern are the frequent crashes -several times a day- that I had on release 2021a when running it on my M1 MB Pro. Actually, I had to switch back to an older Intel MB Pro to avoid them.
Thanks and regards,
RC
Michael Brown
Michael Brown il 23 Nov 2021
I've had the MB Pro M1 for two weeks and have been nearly continuously running scripts with linear/non-linear inverse problems and lots of 2D-3D plotting. I typically run problems that take ~5 minutes each and have 800-900% parallel utilization with near 30 GB of ram used by matlab. So far (using R2021b) matlab has not crashed once. Version R2021a on the intel mac had crash-inducing bugs. I was frustrated prior to the release of 2021b which was much better on the intel mac and seems stable on the M1 mac

Accedi per commentare.

Shaohui Liu
Shaohui Liu il 30 Nov 2021
Modificato: Shaohui Liu il 30 Nov 2021

0 voti

I am running 2021b on a MBP with M1 Pro chip and 32G RAM. Regular jobs look fine but some Simulink-based tasks have some weird bugs.

6 Commenti

I've downloaded the latest update of R2021b and my M1 MB Pro hasn't crashed as it used to.
It seems like a much more stable release.
I'm performing large matrix operations (several millions of elements) with the Paralel Computing Toolbox and it's working just fine.
Thanks!
Robin Thomas
Robin Thomas il 13 Gen 2022
Modificato: Robin Thomas il 13 Gen 2022
So folks recommend 2021B for the M1 chip?
j paterson
j paterson il 20 Gen 2022
@Robin Thomas I haven't had any Matlab crashes with 2021B on a Macbook Air (M1 Big Sur). I've been using it for a few months. I would suggest you try it if you're on an earlier version
bibin
bibin il 7 Dic 2022
i tried 2022b ..it crashes and lag like 5 year old windows
I am also having frequent crashes and issues ...
Steven Lord
Steven Lord il 28 Feb 2023
Please report these "crashes and issues" to Technical Support directly using the Contact Support link under the Get Support heading at the end of this page. If they are known issues they may be able to suggest solutions or workarounds, if not they can report them to the development staff.

Accedi per commentare.

N/A
N/A il 23 Giu 2023
Modificato: N/A il 23 Giu 2023

0 voti

Accoriding to MATLAB R2023b Prerelease System Requirements for Mac, the Apple M-series chips natively suppport the MATLAB 2023b prerelease version. Thus, it is expected that the final release of MATLAB 2023b and later versions will have native support for the Mac devices with all Apple silicon processors.

0 voti

OK, so 2023b is ARM-NATIVE, but why the LACK of any bundled JVM, and why not support OpenJDK rather than get into bed with Amazon???
I don't want Java ANYWHERE NEAR MY SYSTEM, but bundled PRIVATELY in an app is the smart and OK norm since Java 6 nightmares (and Java's general fall from grace to become the niche it is - it just wonl;t die, unfortunately). That's the way they FINALLY made it on Intel releases for years now, and it SHOULD BE that way on ARM...

2 Commenti

MATLAB currently supports OpenJDK. It happens that Amazon makes a suitable OpenJDK available, but you can load in any other OpenJDK that you want.
True, but meant Oracle's.
The real deal-killer is having to download and install Java separately at all, and not be able to only download Matlab and keep Java caged via private/bundled JVM, which is the norm for many commercial apps like this these days. Maybe that will come eventually, and Apple-native urgency just trumped any Java-bundling in same, for now? Going with the Intel release and Rosetta2 instead, at present, and hoping for no issues...

Accedi per commentare.

Categorie

Scopri di più su Language Fundamentals in Centro assistenza e File Exchange

Prodotti

Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by