Cannot open Matlab 2024b (apple silicon)after updating to MacOS 15.3.1,m2pro macbookpro
56 次查看(过去 30 天)
显示 更早的评论
Cannot open Matlab 2024b (apple silicon)after updating to MacOS 15.3.1,m2pro macbookpro
1 个评论
Deirdre
2025-3-15
I have the same issue. I'm using an M1max machine with 32GB of memory.
matlab2024a and matlab2024b both exhibit the same issue. It exits without launching. i'm using Sequoia15.3.2 and an M1 machine. I have the correct plist file setup in LaunchAgents.
回答(2 个)
HF
2025-4-9
I had exactly the same issue, and at first I thought it was my JDK version issue--I used homebrew to try different openjdk, from 17 to 24. None solved this issue. I also try using the official suggested Amazon Corretto 11 version of JDK, but the issue persists. Then I found an answer proviced by the official staff here, and following its suggestions solved the above issue for me. Specifically, it says
sudo /Applications/MATLAB_R20XXx.app/bin/maci64/registerWithOS
After that, Matlab works as expected. I hope it helps.
1 个评论
平森
2025-9-28,17:32
it did work. Actually in matlab2024bAppleSilicon version, the order should be:
sudo /Applications/MATLAB_R2024b/bin/maca64/registerWithOS
it's different from Intel version.
Walter Roberson
2025-2-19
This is not happening to me on Intel MacOS 15.3.1
However, it sort of sounds like the problem that was recently faced opening older versions of MATLAB on MacOS 15.1 (older --> any version before R2024b).
The work-around for the problem at the time was to find /Applications/MATLAB_R2024b.app in the finder, and to right-click and to Show Package Contents. This would open a file chooser menu. From there, select the "bin" folder, and double-click on "matlab" within the "bin" folder.
I do not know whether this same trick will work with R2024b for Apple Silicon in MacOS 15.3.1, but it is work a try.
4 个评论
Eric
2025-3-22
OK, R2024a runs perfectly on my 2023 Mac Studio M2 Max with Sequoia 15.3.2
However, R2024b gives a flash screen and then...nothing.
So, I tried your method using the "Package\ Contents/bin" approach. I got a Terminal window with the message listed below.
I'll try re-installing Corretto 11, or perhaps a more recent version such as 21.
-----------------------------------------------------------
userid@computerid ~ % /Applications/MATLAB_R2024b.app/bin/matlab ; exit;
WARNING: package sun.awt.X11 not in java.desktop
WARNING: package sun.awt.X11 not in java.desktop
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.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!