how to set values for Popups options?

1 vue (au cours des 30 derniers jours)
Chiara Valzecchi
Chiara Valzecchi le 27 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 commentaires
Ganesh Hegade
Ganesh Hegade le 27 Jan 2017
There is no attachment.
Chiara Valzecchi
Chiara Valzecchi le 30 Jan 2017
right. I forgot to do it. now you should be able to see it.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by