Run app created in Matlab on Mac
Show older comments
Good day! Could anyone please tell me how to run application created in Matlab on Mac? My situation is:
I don't have Matlab on Mac, but I've installed MCR, and I can't understand lines in readme.txt file:
setenv DYLD_LIBRARY_PATH
<mcr_root>/v711/runtime/maci64:
<mcr_root>/v711/sys/os/maci64:
<mcr_root>/v711/bin/maci64:
/System/Library/Frameworks/JavaVM.framework/JavaVM:
/System/Library/Frameworks/JavaVM.framework/Libraries
setenv XAPPLRESDIR <mcr_root>/v711/X11/app-defaults
So what should I do according these lines???
Accepted Answer
More Answers (2)
Jerome Lecoq
on 4 Jan 2013
3 votes
This post is very good demonstration of how terrible the deployment process is on the mac. We SHOULD be able to just click on it (like in the windows plateform).
1 Comment
Sagar Zade
on 29 Jan 2021
Edited: Sagar Zade
on 29 Jan 2021
For newer MATLAB versions this post might be helpful: Why do I receive an error about "libmwlaunchermain.dylib" library not loaded when I attempt to execute my compiled application on macOS?
Maxim
on 17 Aug 2011
0 votes
2 Comments
Chirag Gupta
on 17 Aug 2011
In your root you will most probably have an hidden .bashrc file or a .profile file. You can edit this file and set the environment variables there. This will ensure that these variables persist
Maxim
on 18 Aug 2011
Categories
Find more on Startup and Shutdown 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!