Create a Menu From Excel Data
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Laura Proctor
le 18 Avr 2011
3 commentaires
Laura Proctor
le 19 Avr 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)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!