Create a Menu From Excel Data
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Laura Proctor
il 18 Apr 2011
3 Commenti
Laura Proctor
il 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)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Import from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!