How to execute a Matlab function block with a trigger as soon as a condition holds.
8 ビュー (過去 30 日間)
古いコメントを表示
I want to activate a Matlab function block as soon as a condition holds. In the attached figure, the two Matlab function blocks are triggered by using a delayer. However, it takes a time since a satisfying condition is true. I want to execute the function blocks as soon as the related conditions are satisfied. Could you help me find a way of doing that?
0 件のコメント
回答 (2 件)
Udaya Mallampati
2015 年 7 月 31 日
Hi Jin,
You can put your MATLAB function block inside an inside an Enabled and Triggered Subsystem as indicated in this link .
Hope this helps!
0 件のコメント
Anatolii Tcai
2018 年 10 月 18 日
Just press Edit Data button and there you can choose Add Trigger from the menu 'ADD' or by pressing corresponding button.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!