Compiled GUI not appearing
Afficher commentaires plus anciens
I have been trying to compile a MATLAB based GUI and the code compiles without error. The GUI appears properly when running within MATLAB, but when I try to run the executable, the GUI itself does not appear, but is present in the Task Manager. While the program in question is a bit too large to post here, I have been able to duplicate the problem with a much smaller simple GUI. The m-file for the GUI is attached.
I am using MATLAB 2014A on 64 bit Windows 7 Professional.
4 commentaires
Walter Roberson
le 15 Sep 2015
The file did not get attached
Joel Marchand
le 15 Sep 2015
Modifié(e) : Walter Roberson
le 15 Sep 2015
Walter Roberson
le 15 Sep 2015
Does it make a difference if you add a .m that calls the constructor explicitly ?
Joel Marchand
le 15 Sep 2015
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 15 Sep 2015
Modifié(e) : Sean de Wolski
le 15 Sep 2015
What Walter said.
function makeAtestGUI()
T = testGUI();
uiwait(T.h);
end
Now compile this.
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!