How can i modify the popup control values in Simulink

1 view (last 30 days)
Dear Guys
I try to make a masked system in Simulink. All I want is to define a popup control, assign some numbers to it and do the calculations. Pretty simple, isn't it? But the problem is when I assign numbers in "type options" and run the model, Simulink completely ignores my input values. Instead of accepting my values, the model will run with the numbers of line. for example" I type 5,3,2 in type option, but the model will run with 1,2,3 (number of lines). The question is how can I assign numbers to popup options without programming in matlab and only using "maske edit"???

Answers (0)

Categories

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