Effacer les filtres
Effacer les filtres

How can I reopen gui with previous configuration?

1 vue (au cours des 30 derniers jours)
claudio
claudio le 4 Jan 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

Réponses (1)

Image Analyst
Image Analyst le 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.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by