How can I get values of selected item in drop down list .

5 ビュー (過去 30 日間)
Hikmet Osman
Hikmet Osman 2021 年 1 月 24 日
コメント済み: Image Analyst 2023 年 4 月 16 日
like the following :
dropdown1=app.dropdownList.Value;
switch dropdown1
case 1
value1 value2 value3
case 2
vakue1 value2 value3
case 3
value1 value2 value3
.
.
.
end
how can i get these values according to selected item and use it in another button(pushButton)
  2 件のコメント
Steve Lawrence
Steve Lawrence 2023 年 4 月 16 日
up
Image Analyst
Image Analyst 2023 年 4 月 16 日
@Steve Lawrence start your own question and attach your .mlapp file. This question was basically unanswerable because the stuff inside the case statements didn't make any sense.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by