- Install Rosetta2, which allows applications compiled for Intel-based Macs to run on Apple Silicon-based Macs.
- Install ‘GRETNA’.
- Use this on MATLAB for Intel-based Macs.
To resolve the libmex.dylib missing error when running MATLAB GRETNA on MacBook Pro M1
조회 수: 24 (최근 30일)
이전 댓글 표시
Hello everyone,
I use MacBook Pro M1 with macOS 14.2.1.
When I run GRETNA in MATLAB_R2021b, the following error message appears:
Referenced from: <91A4AFCA-5C23-6A30-FB8C-A4C2CD09609E> /Users/mymatalbtoolbox/GRETNA-2.0.0_release/matlab_bgl/private/components_mex.mexmaci64
Reason: tried: '/Users/mymatalbtoolbox/GRETNA-2.0.0_release/matlab_bgl/private/libmex.dylib' (no such file), '/usr/local/lib/libmex.dylib' (no such file), '/usr/lib/libmex.dylib' (no such file, not in dyld cache)
Is there any solution to fix this error?
댓글 수: 0
답변 (1개)
Rishi
2024년 1월 2일
Hi yang,
I understand from your query that you are unable to run ‘GRETNA’ in MATLAB r2021b on a Mac with M1 chip.
This is because the MEX functions are not compatible with MATLAB for Apple Silicon. MATLAB runs on Apple Silicon Macs natively since the r2023b release. More information regarding this can found here:
However, you can use the following workaround to use ‘GRETNA’ on your machine in r2021b:
You can refer to the below documentation to learn more:
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!