Cannot open Matlab 2024b (apple silicon)after updating to MacOS 15.3.1,m2pro macbookpro

57 views (last 30 days)
Cannot open Matlab 2024b (apple silicon)after updating to MacOS 15.3.1,m2pro macbookpro
  1 Comment
Deirdre
Deirdre on 15 Mar 2025
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.

Sign in to comment.

Answers (2)

HF
HF on 9 Apr 2025
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 Comment
平森
平森 on 28 Sep 2025 at 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.

Sign in to comment.


Walter Roberson
Walter Roberson on 19 Feb 2025
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 Comments
Eric
Eric on 22 Mar 2025
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]
HF
HF on 9 Apr 2025
Edited: HF on 6 May 2025
There is an answer proviced by the official staff here, and it solved the above issue for me. Specifically, it says
sudo /Applications/MATLAB_R20XXx.app/bin/maci64/registerWithOS

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!