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

답변 (1개)

Geoff Hayes
Geoff Hayes 2016년 4월 24일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

질문:

2016년 4월 23일

답변:

2016년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by