Can the "menu" user dialog have multiple outputs?
Show older comments
Is there a way to create a menu of user inputs but ask for multiple inputs? More specifically can the menu function (or other similar function) be used to generate multiple outputs.
Using the example from the help for the function "menu": choice = menu('Choose a color','Red','Blue','Green') Is there a way to answer the question "Choose 2 colors? rather than just one such that a user selects a predefined number of buttons?
Thanks, Elizabeth
Answers (1)
Fangjun Jiang
on 13 Jan 2012
0 votes
use listdlg() and set the 'SelectionMode' as 'multiple'
Categories
Find more on App Building 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!