Using a drop down menu in an App.
Show older comments
I tried to use the App tool - the drop down menu. I asked for the .Value in the code view and printed it in the Command line. All that was fine. However when I tried to route the execution using the value: if val == 'name' where name was the value I got errors. I thought the value was a text string, so I do not see how that causes an error. Can you tell me how to use the drop down menu Value properly? I looked in the documentation, but could not find an example of using the drop down. Thanks, in advance.
Accepted Answer
More Answers (1)
Dan Green
on 17 Dec 2019
0 votes
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!