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

4 次查看(过去 30 天)
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 个评论
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 CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by