Matlab Standalone app cannot be opened by double click on MAC

4 views (last 30 days)
Hi all
I compiled my matlab program and I can successfully run it from the terminal by the following command suggested by readme:
./run_MyPrograme.sh $MATLAB_ROOT
But when I double click the bundle MyPrograme.app, nothing happens. No error, nothing. I have no experience in MAC executable programming, so I am not sure the app file generated by deploytool is designated to be 'double-clickable'. Actually I replace all the 'disp' 'input' function by GUI dialogbox, while some of my dependent function might still use such kind of std input-output function, I don't know if it is the problem. And I searched for a while but just find one similar question,with no easy solution. So is it possible to make that app file double-clickable on MAC ?
  1 Comment
Anastasia Baryshnikova
Anastasia Baryshnikova on 13 Mar 2016
I'm facing exactly the same issue right now. The problem (I think) is that the app can't find the Matlab Runtime (MCR) location. The sh script knows where it is and adds it to the system path. But I can't wrap my head around why it can't be done automatically (when MCR is installed, for example), so that the app can be started directly by double click.

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings 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!