How to make sure GUI is deleted before generating it again?
Mostrar comentarios más antiguos
I have a GUIDE made gui and I'd like to make sure that the figure of the gui is deleted along with all associated data (destroyed) before generating it again? (without having to manually close the gui before calling it again) Basically I want to return the gui to it's original state (all buttons return to off position.. etc.) possibly by taking action in the 'opening function'
thanks and any help is appreciated
Respuesta aceptada
Más respuestas (3)
Luffy
el 9 de Jul. de 2012
Editada: Walter Roberson
el 9 de Jul. de 2012
0 votos
Use delete(name of ur gui) command.
A way to do it might be to put a new push button & write above command in that push button's call-back
hana
el 9 de Jul. de 2012
0 votos
Walter Roberson
el 9 de Jul. de 2012
0 votos
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!