How can I assign the actual value of a selected popup to my mask variables in Simulink 2017a?

1 view (last 30 days)
I want to use pop-ups as the control types to set several mask variables, but I want to store in those variables the actual value of the selection, not the index or corresponding string.

Accepted Answer

Sharan Paramasivam Murugesan
Please refer to the accepted answer in the below MATLAB Answers post:
You can do this by accessing the actual values in Mask Initialization as mentioned in the post.

More Answers (0)


Find more on Programmatic Model Editing 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!

Translated by