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

9 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Application Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by