Why does the Switch block produce incorrect results if it is driven by the output from a Selector block in Simulink 5.1 (R13SP1)?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in Simulink 5.1 (R13SP1) in the way that the Switch handles an input from a Selector block.
Currently, to work around this issue, make sure that the input to the Selector block is not constant. For example, if the input is from a Constant block, make the constant value tunable.

More Answers (0)

Categories

Find more on Model Compatibility in Help Center and File Exchange

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!