How can I make a transition when a variable does not change its value?
显示 更早的评论
I have a stateflow chart that has a signal from a signal builder block as its input. I want to have a transition between two states that when two conditions happen:
- The signal has its value below a threshold.
- The signal value has not changed by a factor of delta for T seconds
Does anyone have any idea how do I do that?
采纳的回答
更多回答(1 个)
zhihui diao
2016-5-26
编辑:zhihui diao
2016-5-26
0 个投票
or you can build a time counter inter the second state use "during" sytax
类别
在 帮助中心 和 File Exchange 中查找有关 Stateflow 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
