Can the "menu" user dialog have multiple outputs?
Afficher commentaires plus anciens
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
Réponses (1)
Fangjun Jiang
le 13 Jan 2012
0 votes
use listdlg() and set the 'SelectionMode' as 'multiple'
Catégories
En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!