Conditionals in Matlab app.designer?
이전 댓글 표시
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!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

