MATLAB Answers

monitoring a signal trough time

1 ビュー (過去 30 日間)
Sander Feyen
Sander Feyen 2020 年 4 月 19 日
回答済み: Jesús Zambrano 2020 年 4 月 29 日
I am working on a project in Simulink/ stateflow. Is it possible to "monitor" a state through time and if this state becomes active "X" times in a certain time interval another state/ signal becomes active. This monitoring of the state may not interfere with the morking principle of the full stateflow program.
I managed to implement a basic principle in stateflow, where a timer starts to run when the particular states becomes active for the first time. When the state becomes active "X" times before the timer runs out, an action in the stateflow program is executed.
But is it possible to implement such principle, where it is not dependent of the first time the state becomes active?

  0 件のコメント

サインインしてコメントする。

回答 (1 件)

Jesús Zambrano
Jesús Zambrano 2020 年 4 月 29 日
Hi Sander,
I think that what you are looking for is detailed in the following documentation

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by