how to set values for Popups options?

1 visualización (últimos 30 días)
Chiara Valzecchi
Chiara Valzecchi el 27 de En. de 2017
Comentada: Chiara Valzecchi el 30 de En. de 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 comentarios
Ganesh Hegade
Ganesh Hegade el 27 de En. de 2017
There is no attachment.
Chiara Valzecchi
Chiara Valzecchi el 30 de En. de 2017
right. I forgot to do it. now you should be able to see it.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by