implement back button in matlab

조회 수: 7 (최근 30일)
Saad mohammad
Saad mohammad 2016년 4월 8일
댓글: Saad mohammad 2016년 4월 11일
Hi , everybody how can I implement a back button in which when I go to another gui and get back to the first gui I still have the information the user had entered

답변 (1개)

Stalin Samuel
Stalin Samuel 2016년 4월 8일
  댓글 수: 6
Walter Roberson
Walter Roberson 2016년 4월 10일
Information in a GUI will never still be there after you close the GUI. If you need the information to still be there, then set the GUI 'visible' 'off' during the time you do not want it displayed, and set 'visible' 'on' when you want to see it again.
When you close a GUI, the graphics objects for it are destroyed and would need to be rebuilt and have their values set as appropriate.
Saad mohammad
Saad mohammad 2016년 4월 11일
I think the visible off will work, thank you walter

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by