Apple's M1 native support
Mostrar comentarios más antiguos
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 comentarios
Truman
el 5 de Ag. de 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
el 5 de Ag. de 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
el 5 de Ag. de 2021
Editada: Walter Roberson
el 5 de Ag. de 2021
As I wrote in https://www.mathworks.com/matlabcentral/answers/641925-is-matlab-supported-on-apple-silicon-macs#comment_1547845
I expect R2023b for the fully native version.
That's my estimate. Taking into account Polyspace, which has quite different interal processes.
Walter Roberson
el 5 de Ag. de 2021
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
el 8 de Sept. de 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
el 20 de Oct. de 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.
Danielle Hewitt
el 28 de Feb. de 2023
Is there any update on native M1 support? I see these comments are very old and I am having series issues with MATLAB
Giorgio Taricco
el 21 de Mzo. de 2023
Matlab 2023a is not supporting apple silicon natively. Again. How long shall we wait for native support?
Mike Croucher
el 21 de Mzo. de 2023
Have you tried the Native beta? Playing with the R2022b MATLAB Apple Silicon beta for M1/M2 Mac » The MATLAB Blog - MATLAB & Simulink (mathworks.com)
Daniel Kiefer
el 8 de Jun. de 2023
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
el 8 de Jun. de 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.
Daniel Kiefer
el 8 de Jun. de 2023
It's good to know, thanks a lot. I will look out for the prerelease in the hope that I will have access.
@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
el 20 de Jun. de 2023
Thanks for the heads up. I installed the R2023b pre-release and my test codes run seamlessly so far.
Mike Croucher
el 23 de Jun. de 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
el 23 de Jun. de 2023
Does it now support the Matlab engine for Python. I recall it did not work for Apple silicon earlier.
Respuesta aceptada
Más respuestas (6)
Oliver Woodford
el 15 de Mzo. de 2022
4 votos
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 comentarios
Truman
el 20 de Mzo. de 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
el 21 de Mzo. de 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?
Andrew Kacmarcik
el 26 de Mzo. de 2022
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
el 26 de Mzo. de 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
el 28 de Mzo. de 2022
Editada: Peter Somhorst
el 28 de Mzo. de 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
el 5 de Abr. de 2022
Editada: Spencer Kraisler
el 5 de Abr. de 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
el 5 de Abr. de 2022
Editada: Rodrigo Cerda
el 5 de Abr. de 2022
Rik
el 6 de Abr. de 2022
Rik
el 14 de Abr. de 2022
@Vishnu Baldew Click on the link I posted, then follow the link on the official answer provided by Mathworks.
Jonathan
el 6 de Jun. de 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.
Walter Roberson
el 6 de Jun. de 2022
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
el 8 de Sept. de 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
el 23 de Jun. de 2023
Does it now support the Matlab engine for Python. I recall it did not work for Apple silicon earlier.
cdarling
el 14 de Jun. de 2023
2 votos
WoW native Apple silicon support is included, as stated in this sys req for 2023b:
5 comentarios
Anton Kogios
el 14 de Jun. de 2023
Nice!
Peter Somhorst
el 14 de Jun. de 2023
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
el 14 de Jun. de 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.
Walter Roberson
el 14 de Jun. de 2023
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
el 14 de Jun. de 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?
Michael Brown
el 23 de Nov. de 2021
0 votos
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 comentarios
Rodrigo Cerda
el 23 de Nov. de 2021
Michael Brown
el 23 de Nov. de 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
Shaohui Liu
el 30 de Nov. de 2021
Editada: Shaohui Liu
el 30 de Nov. de 2021
0 votos
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 comentarios
Rodrigo Cerda
el 3 de Dic. de 2021
Robin Thomas
el 13 de En. de 2022
Editada: Robin Thomas
el 13 de En. de 2022
So folks recommend 2021B for the M1 chip?
j paterson
el 20 de En. de 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
el 7 de Dic. de 2022
i tried 2022b ..it crashes and lag like 5 year old windows
Danielle Hewitt
el 28 de Feb. de 2023
I am also having frequent crashes and issues ...
Steven Lord
el 28 de Feb. de 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.
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.
Haskin Shellfish Research Lab
el 1 de Mzo. de 2024
0 votos
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 comentarios
Walter Roberson
el 1 de Mzo. de 2024
MATLAB currently supports OpenJDK. It happens that Amazon makes a suitable OpenJDK available, but you can load in any other OpenJDK that you want.
Haskin Shellfish Research Lab
el 1 de Mzo. de 2024
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...
Categorías
Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
