Cannot open Matlab 2024b (apple silicon)after updating to MacOS 15.3.1,m2pro macbookpro
59 ビュー (過去 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!