Matlab menu function not returning all options.
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2019 年 2 月 7 日
Could you confirm that VCD2(2:end,1) is a cell array of character vectors ?
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!