Matlab menu function not returning all options.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jeffrey Smith
le 7 Fév 2019
Réponse apportée : Jeffrey Smith
le 7 Fév 2019
I have a 11x5 matrix under the variable VCD2
The code I enter is as follows.
InFreq = menu('Select an input frequency [Hz].', VCD2(2:end, 1))
Instead of returning all the options the only choice available is the data in cell 2,1
Changing 2:end to 2:11 fixes nothing.
2 commentaires
Walter Roberson
le 7 Fév 2019
Could you confirm that VCD2(2:end,1) is a cell array of character vectors ?
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with 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!