How to get the list data from a listbox within a saved and recalled .fig file?
2 views (last 30 days)
Show older comments
I have tried to used get(h,'children') etc. to access the info stored in the .fig file. It seem to be there as the list is about 300 items and can be scrolled to and clicked on from the recalled figure file. The goal is to be able to provide a dynamic .fig file for a secondary user to open and manipulate. Thanks, John
0 Comments
Accepted Answer
Walter Roberson
on 8 May 2013
listbox_handles = findobj(h, '-type', 'uicontrol', '-style', 'listbox');
There might be more than one, of course. If you know the tag you are looking for, then
listbox_handle = findobj(h, '-tag', 'TheTagHere');
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!