How can I get values of selected item in drop down list .
3 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 16 Apr 2023
@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:
Answers (0)
See Also
Categories
Find more on Graphics Object Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!