Simulink 一定時間Enabled(or Triggererd)サブシステム内を演算させる方法
Afficher commentaires plus anciens
Enableサブシステムか、Triggererdサブシステムを使用して2秒間だけサブシステム内を演算さたいのですが方法はないでしょうか
画像のようなフラグ(左)が立っている時だけサブシステム内を計算させたいのですが

Réponse acceptée
Plus de réponses (2)
Hiroumi Mita
le 26 Déc 2019
0 votes
この回答の添付ファイルを見て、作ってみましょう。
timer.png
この出力信号は入力信号ONで2秒間ONします。それをEnabled Subsystemの実行につかえばよいと思います。
>S-R Flip-Flop(フリップフロップ)を使えばできます。
>もっと簡単な方法もあるかもしれませんが・・・
1 commentaire
s
le 26 Déc 2019
Hiroumi Mita
le 27 Déc 2019
0 votes
Enabled Subsystem内部のブロックパラメータの設定が正しくないようですね。
添付のようにすれば大丈夫と思います。
詳細は Enabled Subsystemのhelpを精読してください。
1 commentaire
s
le 27 Déc 2019
Catégories
En savoir plus sur サブシステム dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!