how to set values for Popups options?

1 view (last 30 days)
Chiara Valzecchi
Chiara Valzecchi on 27 Jan 2017
Commented: Chiara Valzecchi on 30 Jan 2017
Hi everyone, I am having problems with the initialization of a parameter by means of popup mask in Matlab 2011b.
I want to set the parameter to TRUE or FALSE. I have added the parameter in the list Parameters and the two possible values into Type-specific options list. I have initialized TRUE and FALSE values in the workspace, but I cannot find how to read them inside the mask. It keeps giving the corresponding index as output value and not the value initialized in the ws.
I attach an image of a simple model I have created to understand.
  2 Comments
Chiara Valzecchi
Chiara Valzecchi on 30 Jan 2017
right. I forgot to do it. now you should be able to see it.

Sign in to comment.

Answers (0)

Categories

Find more on Modeling 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!