How to design up counter using Stateflow and hold it for some interval and decrement it to zero?

117 次查看(过去 30 天)
I want to design a counter which will increment up to 10 and hold it for 3sec and decrements it to zero using stateflow.

采纳的回答

GK
GK 2018-9-4
Hi, you can design it as mentioned in screenshot.
Please check simulating it.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Additional Math and Discrete 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by