How can callbacks from a "Main GUI" access data from the controls of a "User Settings" GUI?
2 views (last 30 days)
Show older comments
I have read up on ways to share data between callback functions in a GUI. However, what I’ve read seems to apply to sharing data between callbacks from the same GUI. I’m trying to share data between callbacks from two different GUIs. The talked about techniques I’ve come across don’t work in my case.
My overall objective is to provide a "User Settings" GUI as a pop-up that can be activated from my “Main GUI.” I want the “Main GUI” callbacks to be able to access the data on the controls in the “User Settings” GUI after the "User Settings" GUI has been closed by user.
Wondering if what I’m trying to do is possible and how. Thanks in advance for any helpful guidance.
0 Comments
Accepted Answer
Paulo Silva
on 19 Apr 2011
User Settings saves the settings like Doug shown and your Main GUI reads the saved data (the mat file).
2 Comments
Paulo Silva
on 24 Apr 2011
There are many ways to share data between two GUI's
input and output arguments
app_data
tag objects and using findall
UserData property of objects
More Answers (0)
See Also
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!