How can I get values of selected item in drop down list .
5 次查看(过去 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
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 Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!