필터 지우기
필터 지우기

Mex on macos crashes

조회 수: 9 (최근 30일)
Simone Ranaldi
Simone Ranaldi 2023년 11월 14일
댓글: Walter Roberson 2023년 11월 30일
Is anyone having troubles in compiling mex files in R2023a (silicon native)?. I have old mex functions that compile fine in windows. In MacOs Sonoma they compile but then MATLAB crashes at runtime.
I see that the official documentation states that mex compiling is supported for XCode 14.x, but on Sonoma you can't install anything except from 15.x
  댓글 수: 1
Walter Roberson
Walter Roberson 2023년 11월 30일
r2023a is not supported on Sonoma

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

답변 (1개)

Sanchari
Sanchari 2023년 11월 30일
Hello Simone,
I understand that you are encountering issues with compiling Mex files in MATLAB R2023a on macOS Sonoma, particularly related to compatibility with Xcode versions and potential runtime crashes.
Please refer the following MathWorks Documentation to verify compatibility: https://www.mathworks.com/help/matlab/ref/mex.html?#btw3m9i-4
And follow this ML Answer Learning to troubleshoot the MATLAB crash associated with MEX function: https://www.mathworks.com/matlabcentral/answers/212716-how-do-i-troubleshoot-a-matlab-crash-associated-with-a-custom-mex-function
Also do refer the following ML Answer Learnings for more knowledge regarding MATLAB crashes on Sonoma:
  1. MATLAB crash on Sonoma 14.0: https://www.mathworks.com/matlabcentral/answers/2027964-matlab-crash-on-sonoma-macos-14-0
  2. MATLAB Crash on Sonoma related to licensing: https://www.mathworks.com/matlabcentral/answers/2044722-why-does-matlab-crash-on-macos-sonoma-when-using-an-individual-or-designated-computer-license
  3. MATLAB Crash related to MEX: https://www.mathworks.com/matlabcentral/answers/474798-matlab-crashes-after-mex-from-cpp
Hope this information is helpful to you!

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by