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
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
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
Walter Roberson el 5 de Ag. de 2021
Editada: Walter Roberson el 5 de Ag. de 2021
I expect R2023b for the fully native version.
That's my estimate. Taking into account Polyspace, which has quite different interal processes.
Walter Roberson
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
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
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
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
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?
Daniel Kiefer
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
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
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.
T Bui
T Bui el 20 de Jun. de 2023
Editada: Rik el 20 de Jun. de 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 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
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
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.

Iniciar sesión para comentar.

 Respuesta aceptada

Selahattin Imrohoroglu
Selahattin Imrohoroglu el 25 de Nov. de 2021
Editada: Selahattin Imrohoroglu el 25 de Nov. de 2021

0 votos

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 comentarios

Michael Brown
Michael Brown el 25 de Nov. de 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)
Selahattin Imrohoroglu
Selahattin Imrohoroglu el 28 de Nov. de 2021
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.
Peter Somhorst
Peter Somhorst el 2 de Dic. de 2021
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 el 13 de En. de 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 el 11 de Mzo. de 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 el 11 de Mzo. de 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.
Jorge Ignacio Cisneros Saldana
Jorge Ignacio Cisneros Saldana el 12 de Nov. de 2022
Have you tried parallel processing? does it work?

Iniciar sesión para comentar.

Más respuestas (6)

Oliver Woodford
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
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
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
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
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
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
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
Rodrigo Cerda el 5 de Abr. de 2022
Editada: Rodrigo Cerda el 5 de Abr. de 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 el 6 de Abr. de 2022
They just published a native beta for R2022a, so you can try that now.
Rik
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
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
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
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
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.

Iniciar sesión para comentar.

cdarling
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
Anton Kogios el 14 de Jun. de 2023
Nice!
Peter Somhorst
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
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
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
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?

Iniciar sesión para comentar.

Michael Brown
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
Rodrigo Cerda el 23 de Nov. de 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 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

Iniciar sesión para comentar.

Shaohui Liu
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
Rodrigo Cerda el 3 de Dic. de 2021
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 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
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
bibin el 7 de Dic. de 2022
i tried 2022b ..it crashes and lag like 5 year old windows
Danielle Hewitt
Danielle Hewitt el 28 de Feb. de 2023
I am also having frequent crashes and issues ...
Steven Lord
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.

Iniciar sesión para comentar.

N/A
N/A el 23 de Jun. de 2023
Editada: N/A el 23 de Jun. de 2023

0 votos

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

Iniciar sesión para comentar.

Categorías

Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by