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

Answers (1)

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.

Categories

Find more on Programming in Help Center and File Exchange

Products

Asked:

on 23 Apr 2016

Answered:

on 24 Apr 2016

Community Treasure Hunt

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

Start Hunting!