Why do I get an error when trying to run my MATLAB R2012b deployed application from the Mac Finder window?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Package and Share Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!