How can i modify the popup control values in Simulink

2 views (last 30 days)
Siavash on 6 Jul 2015
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)

Community Treasure Hunt

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

Start Hunting!

Translated by