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

16 ビュー (過去 30 日間)
Simon
Simon 2013 年 12 月 6 日
コメント済み: Simon 2013 年 12 月 6 日
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

採用された回答

Friedrich
Friedrich 2013 年 12 月 6 日
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 件のコメント
Simon
Simon 2013 年 12 月 6 日
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

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeApplication Deployment についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by