Create a Menu From Excel Data
10 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Laura Proctor
2011 年 4 月 18 日
3 件のコメント
Laura Proctor
2011 年 4 月 19 日
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)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!