Why does the value of my block parameter change when I modify other parameters in my mask block dialog in Simulink 6.1 (R14SP1)?
1 view (last 30 days)
Show older comments
I have a masked subsytem in Simulink 6.1 (R14SP1). I define several parameters for my masked subsystem, when I change the value of one parameter in the mask block dialog the value of another parameter is being changed. The mask parameters in question are:
GAIN
gain
Ts
When I change my GAIN value, the gain value also changes.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This is intended behavior in Simulink 6.1 (R14SP1) when the variables names differ only in case, since Simulink is case insensitive when referring to variables.
To work around this issue, rename your mask variables such that they have different names.
0 Comments
More Answers (0)
See Also
Categories
Find more on Create Block Masks 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!