필터 지우기
필터 지우기

MATLAB does not start on OS X Sonoma M2 Max

조회 수: 16 (최근 30일)
Pete
Pete 2023년 12월 14일
댓글: Jorik 2024년 5월 11일
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
Karl
Karl 2024년 1월 4일
From the command line, could you try -maci64 instead of -glnxa64? The latter specifies a Linux binary, which understandably isn't found.
Pete
Pete 2024년 1월 5일
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:
...

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2024년 1월 4일
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
Pete
Pete 2024년 2월 7일
Do you have some more details about this or a link or something?
Jorik
Jorik 2024년 5월 11일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by