Clear Filters
Clear Filters

implement back button in matlab

10 views (last 30 days)
Saad mohammad
Saad mohammad on 8 Apr 2016
Commented: Saad mohammad on 11 Apr 2016
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

Answers (1)

Stalin Samuel
Stalin Samuel on 8 Apr 2016
  6 Comments
Walter Roberson
Walter Roberson on 10 Apr 2016
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 on 11 Apr 2016
I think the visible off will work, thank you walter

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!