How do i reset gui to initial state while runtime?

Hello EveryOne I am working on a project in matlab, i want to place a reset button and make the project go back to the initial state when it ran first time plz help ? i have so many objects in my matlab gui with lots of visible on/off properties How can i make them to their initial conditions??

Respuestas (1)

Geoff Hayes
Geoff Hayes el 24 de Abr. de 2016

0 votos

Farhan - in the callback for your reset button, you would reset the state of each control to whatever it's default or initial state should be. I think that you are hoping for an easier solution to restore the state, but I think that you will need to write the code to do that for each of your controls.

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 23 de Abr. de 2016

Respondida:

el 24 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by