Standalone Application difficulty on Macbook Air 64 bit

1 view (last 30 days)
Dear Mathworks support
Over the past couple weeks I've been developing an a MATLAB GUI with the intent of creating a standalone application. Using the "deploytool" command, I successfully developed a standalone for my Windows machine, and it works successfully independent of MATLAB.
Using the deploytool method on a Macintosh creates a 'run_<component>.sh' file and an application. The help menu states the *.sh script temporarily sets up the environment variables needed at run-time and executes the application. I did the following:
1. Compiled the program on Mac computer with MATLAB
2. Installed the MATALB Compiler Runtime (MCR) on 2nd Mac computer
3. Ran the *.sh script on the 2nd Mac computer
When I use this method, the program runs successfully. The GUI opens, and works exactly as it did on the first computer
I'm interested in the capability of running the GUI on the Mac without running the script, and just double clicking on the actual application. When I attempt this, I've found the 'fopen' function does not work properly. Obviously the program is unable to access the toolbox of the MCR. Could someone help give me instructions on how/if this is possible? Thanks for any help you can give me.
Peter
  2 Comments
Peter
Peter on 15 Jul 2011
Thank you for responding. I tried double clicking and it still is giving me trouble. It flashes a window for a split second and disappears.
Is it possible the script won't execute properly by double-clicking because it opens up a GUI

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!