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!