Hello, My OS: OSX 10.8.5, using MATLAB R2013a.
I've made a standalone MATLAB app that needs to display a few windows. This works fine on the machine I coded it in, but is extremely variable on other machines. On most Macs it just displays one figure, sometimes a few, of the several required.
I got it working on a Windows 7 machine, no problem.
Of course I've installed the MCR. At the end of the MCR installation process, the installer says to change DYLD_LIBRARY_PATH and XAPPLRESDIR:
I believe I should go to the Applications/MATLAB folder, and type the following:
>>export DYLD_LIBRARY_PATH=/Applications/MATLAB/MATLAB_Compiler_Runtime/v81/runtime/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v81/bin/maci64:/System/Library/Frameworks/JavaVM.framework/JavaVM:/System/Library/Frameworks/JavaVM.framework/Libraries
and
>>export XAPPLRESDIR=/Applications/MATLAB/MATLAB_Compiler_Runtime/v81/X11/app-defaults
then if I use the command
it will show me that those environment variables have changed.
The standalone app. still won't fully run, or open all figure windows.
The original code it written in MATLAB R2013a on OSX 10.8.5, and is being deployed mostly on Mavericks, or 10.9, but also 10.8.5.
It seems to work much better/more easily on Windows machines.
Thank you for you help, I hope I've included enough information.