Why does my GUIDE close automatically after opening?
Afficher commentaires plus anciens
Hi, Since I have opened the "Inspector: matlab.ui.Figure" and make some changes, my GUI crash, close or something else automatically just one second after the opening. Without any errors :(
Do you know how to fix it?
Any help would be greatly appreciated.
Thanks,
Merry
2 commentaires
Jan
le 16 Mai 2017
@Merry: Please remeber that the readers do not have the faintest idea about what you are observing. Which software? What exactly is "interruption"? What do you see? How can you distinguish if the program is "interrupted" or simply ready?
Réponses (1)
Jan
le 13 Mai 2017
0 votes
Perhaps the OpeningFcn contains a close command? We cannot guess this. Buit you can examine this easily: Set a breakpoint in teh OpeningFcn and/or in the main function of the M-file. Then step through the code until you find teh reason of teh closing. This is called "debugging".
1 commentaire
Jan
le 16 Mai 2017
@Merry: Is the former problem solved? Which code causes the error message? What are you trying to do? You know that I do not have a crystal ball, don't you?
Catégories
En savoir plus sur Logical 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!