Conditionals in Matlab app.designer?
Show older comments
I'm trying to design the following app. The user choose one of the following values in the dropmenu and the clicks the button. If the dropmenu is visible for the user AND its value is 'b', a 40 appears on the white window. If not, a 10 appears in the white window.

This is the code I have made, but it doesn`t work

When I choose 'b' in the dropmenu and the click the button, this error appears:

What am I doing wrong in the conditional? Is there any way of achieving what I am looking for?
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Develop Apps Using App Designer 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!
