passing data between two different gui window using guide
1 次查看(过去 30 天)
显示 更早的评论
I am a beginner with MATLAB GUIs. I have two GUI figure windows. I want to transfer data( from a textbox) in the first GUI figure to another second GUI figure & want to use that data in second GUI figure. Assuming I am using Guide.
1 个评论
Walter Roberson
2011-7-19
duplicate is at http://www.mathworks.com/matlabcentral/answers/5487-passing-data-into-another-gui-figure-window-using-guide
采纳的回答
Matt Fig
2011-4-13
From the second GUI callback which needs the data, simply use:
H = findall(0,'tag','myeditboxtag');
Where myeditboxtag is the unique tag given to the editbox in the first GUI. Then H will have the handle to that editbox. Once you have this you can then access the 'string' property to retrieve the data.
0 个评论
更多回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!