MATLAB does not start on OS X Sonoma M2 Max

41 Ansichten (letzte 30 Tage)
Pete
Pete am 14 Dez. 2023
Kommentiert: Pete am 7 Feb. 2024
MATLAB 2016b does not start since I upgraded OS X to Sonoma (OS X 14). I use a Mac with a M2 Max architecture. Befor upgrading to Sonoma it worked just fine. I know, that 2016b is not officially supported but maybe someone has an idea how I can fix this issue. I guess it should be possible because it war runnig just fine on the same machine before upgrading to Sonoma.
Trying to start Matlab with /Applications/MATLAB_R2016b.app/bin/matlab -glnxa64 gives the following error:
Warning: Cannot locate Java Runtime Environment (JRE) . . .
1. Either a correct JRE was not available for redistribution when
this release was shipped, in which case you should refer to the
Release Notes for additional information about how to get it.
2. Or you have tried to use the MATLAB_JAVA environment variable
to specify an alternate JRE, but MATLAB cannot find it. Please
run 'matlab -n' to determine what value you are using for
MATLAB_JAVA and fix accordingly.
---------------------------------------------------------------------------
matlab: No MATLAB bin directory for this machine architecture.
ARCH = glnxa64
Thank you and best regards,
Peter
  2 Kommentare
Karl
Karl am 4 Jan. 2024
From the command line, could you try -maci64 instead of -glnxa64? The latter specifies a Linux binary, which understandably isn't found.
Pete
Pete am 5 Jan. 2024
Thank you! I tried this and I receive the message Walter Roberson stated below:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x6000033540c0'
*** First throw call stack:
...

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 4 Jan. 2024
On a true Intel Mac... No go. Under Sonoma R2016b and R2017b both abort immediately with
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x600002528120'
  4 Kommentare
Walter Roberson
Walter Roberson am 1 Feb. 2024
I saw someone claim to have done it, but I doubt that it is possible.
Pete
Pete am 7 Feb. 2024
Do you have some more details about this or a link or something?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by