Clear Filters
Clear Filters

How can I reopen gui with previous configuration?

1 view (last 30 days)
Hi all,
using matlab r2014a I build a several nested figure (one "mother figure" + "child figures"). In each figure I get some information from user and I save all data in each figure handles struct. Closing the "child" figure, is there a way to reopen/rebuild that figure using the same previous "configuration/layout"?
thanks

Answers (1)

Image Analyst
Image Analyst on 4 Jan 2016
I have a function called LoadUserSettings() that reads all the control values (string, value, etc. properties) from a .mat file and send them to their controls. When the user exits the program, the existing state of the controls, that a user might possibly have interacted with, is read and saved to the .mat file.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!