Why do I get an error when trying to run my MATLAB R2012b deployed application from the Mac Finder window?
이전 댓글 표시
I compiled a standalone application from my MATLAB code using MATLAB Compiler R2012b, on my Mac OS X. When I try to run my standalone application by double clicking on the application from the Finder window, I get this error message:
Dyld Error Message:
Library not loaded: @rpath/libmwcpp11compat.dylib
Referenced from: /Users/USER/Desktop/*/TestApp1.app/Contents/MacOS/prelaunch
Reason: image not found
I have the right version of MCR (v80) installed correctly in the default location. The standalone application runs fine when I run the accompanying .sh file from the terminal window, or if I call the standalone application from the MATLAB command window.
How can I make it run without errors when double clicking the .app file in the Finder window?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Package and Share Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!