how to set values for Popups options?
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160201/image.png)
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.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!