How can I reopen gui with previous configuration?

1 visualizzazione (ultimi 30 giorni)
claudio
claudio il 4 Gen 2016
Risposto: Image Analyst il 4 Gen 2016
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

Risposte (1)

Image Analyst
Image Analyst il 4 Gen 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.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by