필터 지우기
필터 지우기

How can I reopen gui with previous configuration?

조회 수: 1 (최근 30일)
claudio
claudio 2016년 1월 4일
답변: Image Analyst 2016년 1월 4일
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