Azzera filtri
Azzera filtri

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

9 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Friedrich
Friedrich il 6 Dic 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 Commento
Simon
Simon il 6 Dic 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by