複数信号が一定時間以上正であることがsubsystem実行のトリガーとしたい
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
入力される複数信号の値と閾値とする値の差分を取り、一定時間以上正の場合subsystemブロックを実行させるシステムを作りたいのですが、使えそうなブロックが見当たらず困っています。やり方をご教示いただけないでしょうか?
0 comentarios
Respuestas (1)
Toshinobu Shintai
el 19 de Oct. de 2020
Stateflowの状態遷移で、一定時間後に遷移するコマンドを簡単に記述できます。
こちらを活用してみてはいかがでしょうか。
2 comentarios
Toshinobu Shintai
el 23 de Dic. de 2020
一番簡単なのは、Stateflow内でSimulink関数を使うことです。添付のモデルをご確認ください。
Stateflowにはいろいろな使い方がありますが、もし基本の使い方が分からないことがありましたら、無料の「Stateflow入門」を受講してみてはどうでしょうか。
Ver también
Categorías
Más información sobre Simulink Function en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!