Mex on macos crashes
古いコメントを表示
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
2023 年 11 月 30 日
r2023a is not supported on Sonoma
回答 (1 件)
Sanchari
2023 年 11 月 30 日
0 投票
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:
- MATLAB crash on Sonoma 14.0: https://www.mathworks.com/matlabcentral/answers/2027964-matlab-crash-on-sonoma-macos-14-0
- 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
- 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!
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!