I have a boolean input to my Switch block. If I set the comparison to be "greater than or equal to 0.5" it works fine. When I change this to be "greater than", the switch acts like the comparison is never true. This happens even if I change the threshold to be zero.
MATLAB: Does the Switch block provide incorrect output when I use the “greater than” comparison in Simulink 5.0 (R13)
booleangreatersimulinkswitchthanthresholdwrong
Related Question
- What is this block
- How to display Switch Block’s threshold label in Simulink
- How to retain bus signal names through SWITCH, MERGE and/or DELAY blocks in Simulink 5.0 (R13)
- Are the Lagrange multipliers (lambda), that are returned by CONSTR for equality constraints, always positive
- Does the Switch block behave differently in Simulink 6.2 (R14SP2) than in Simulink 6.1 (R14SP1) when handling vector data inputs of different data types
Best Answer