Apple's M1 native support

66 vues (au cours des 30 derniers jours)
Rodrigo Cerda
Rodrigo Cerda le 29 Juin 2021
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 commentaires
Mike Croucher
Mike Croucher le 23 Juin 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 le 23 Juin 2023
Does it now support the Matlab engine for Python. I recall it did not work for Apple silicon earlier.

Connectez-vous pour commenter.

Réponse acceptée

Selahattin Imrohoroglu
Selahattin Imrohoroglu le 25 Nov 2021
Modifié(e) : Selahattin Imrohoroglu le 25 Nov 2021
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 commentaires
Rodrigo Cerda
Rodrigo Cerda le 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.
Jorge Ignacio Cisneros Saldana
Have you tried parallel processing? does it work?

Connectez-vous pour commenter.

Plus de réponses (6)

Oliver Woodford
Oliver Woodford le 15 Mar 2022
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 commentaires
Umut Sayin
Umut Sayin le 8 Sep 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 le 23 Juin 2023
Does it now support the Matlab engine for Python. I recall it did not work for Apple silicon earlier.

Connectez-vous pour commenter.


cdarling
cdarling le 14 Juin 2023
WoW native Apple silicon support is included, as stated in this sys req for 2023b:
  5 commentaires
Walter Roberson
Walter Roberson le 14 Juin 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 le 14 Juin 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?

Connectez-vous pour commenter.


Michael Brown
Michael Brown le 23 Nov 2021
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 commentaires
Rodrigo Cerda
Rodrigo Cerda le 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 le 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

Connectez-vous pour commenter.


Shaohui Liu
Shaohui Liu le 30 Nov 2021
Modifié(e) : Shaohui Liu le 30 Nov 2021
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 commentaires
Danielle Hewitt
Danielle Hewitt le 28 Fév 2023
I am also having frequent crashes and issues ...
Steven Lord
Steven Lord le 28 Fév 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.

Connectez-vous pour commenter.


N/A
N/A le 23 Juin 2023
Modifié(e) : N/A le 23 Juin 2023
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
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 commentaires
Walter Roberson
Walter Roberson le 1 Mar 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
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...

Connectez-vous pour commenter.

Catégories

En savoir plus sur Performance and Memory dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by