how to set values for Popups options?

조회 수: 1 (최근 30일)
Chiara Valzecchi
Chiara Valzecchi 2017년 1월 27일
댓글: Chiara Valzecchi 2017년 1월 30일
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
Ganesh Hegade
Ganesh Hegade 2017년 1월 27일
There is no attachment.
Chiara Valzecchi
Chiara Valzecchi 2017년 1월 30일
right. I forgot to do it. now you should be able to see it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by