App Designer: Drop down menu values
8 ビュー (過去 30 日間)
古いコメントを表示
I have a drop down menu with 10 different options. I need a statement that will give me different values based on the option picked. I know it is probably really straight forward and easy, but i just don't get it.
0 件のコメント
回答 (1 件)
ES
2017 年 11 月 10 日
Get the value of the selected option from drop down menu callback using Value property.
Value will be the index of selected option.
Using this Value property, you can index and select from your list of values.
5 件のコメント
Robert Pritchard
2019 年 4 月 2 日
Me too lol. what are the chances 2 people who need this stumbled upon it a year and half later on the same day
rajatajay thakur
2020 年 6 月 28 日
What if I have images like peppers or cameraman in that option and I need to display that image on axes when selected please help
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!