Successfully compiled a GUI with no Errors but the executable file doesn't run

7 views (last 30 days)
Greeting, My Gui has been compiled successfully (at least that's what the deploytool said {i.e. "Build Finished"}). When cliked on the executable file, nothing happened. It didn't run at all. I have the saved the log file if that would help (and can attach here later). Thanks, Simon

Accepted Answer

Friedrich
Friedrich on 6 Dec 2013
Hi,
sounds like you compiled a standalone application which throws a MATLAB error whichs is not displayed because there is no console to display it.
So recompile it as console application and start it from a DOS prompt in order to see the actual error. This should help to fix your code.
  1 Comment
Simon
Simon on 6 Dec 2013
Thank you for your help. I have finally tracked down the problem. It came from a line of code trying to load a .mat file. It only had the file name withoug the full path. Adding the full path info has resovled the problem and the stand alone is now running fine. Thanks

Sign in to comment.

More Answers (0)

Categories

Find more on Application Deployment 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!