Simulink: Can you make a Case Switch Action reset to zero when switched off?
2 views (last 30 days)
Show older comments
I'm having an issue where the last value sent out from a Case Switch Action "sticks" and does not go back down to zero after that case is no longer valid. See the attached image for a quick sample issue. The amplitude of the sin wave is 8. Make the period and resolution of the wave what you wish. As you will see from the scopes, the last value is strung out until that case is valid again. What I want to have happen is like in the switch I made at the bottom. However, that is not a good solution for my problem as there isn't enough logic built into the switch.
Big Thanks!
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!