Create a Menu From Excel Data
1 view (last 30 days)
Show older comments
Is there a way in which you can create a menu that will take text strings from an Excel file and place them as the options for the menu, and if so how do I do that?
0 Comments
Accepted Answer
Laura Proctor
on 18 Apr 2011
3 Comments
Laura Proctor
on 19 Apr 2011
In that case, you can just use:
choice = menu('Choose an item',txt(2:end))
Or, redefine txt and use the same syntax as above:
txt = txt(2:end)
More Answers (0)
See Also
Categories
Find more on Data Import from MATLAB 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!