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??

Antworten (1)

Geoff Hayes
Geoff Hayes am 24 Apr. 2016

0 Stimmen

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.

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 23 Apr. 2016

Beantwortet:

am 24 Apr. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by