How can I reopen gui with previous configuration?

1 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2016-1-4
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.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by