Effacer les filtres
Effacer les filtres

MATLAB does not start on OS X Sonoma M2 Max

16 vues (au cours des 30 derniers jours)
Pete
Pete le 14 Déc 2023
Commenté : Jorik le 11 Mai 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 commentaires
Karl
Karl le 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 le 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:
...

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 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'
  5 commentaires
Pete
Pete le 7 Fév 2024
Do you have some more details about this or a link or something?
Jorik
Jorik le 11 Mai 2024
Apparently there are more applications with similar errors, e.g. libcurl (used by cargo):
Maybe the solution there could hint towards a solution for MATLAB? However, maybe a better alternative is to run MATLAB R2017a and older in a VM with Ventura or an even older officially supported OS.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by