How can I make a transition when a variable does not change its value?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (1)
zhihui diao
el 26 de Mayo de 2016
Editada: zhihui diao
el 26 de Mayo de 2016
0 votos
or you can build a time counter inter the second state use "during" sytax
Categorías
Más información sobre Stateflow en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
