Conditionally executed functions in Simulink

Hi,
I have some blocks and functions in simulink model. One of the blocks must be executed once (if certain conditions are met), and it does not need to be executed before and after that. How can I do this?

回答 (1 件)

Paul
Paul 2023 年 8 月 1 日

0 投票

A Triggered Subsystem may fit the bill.
More generally, check Conditionally Executed Subsystems for more discussion.

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

質問済み:

2023 年 8 月 1 日

コメント済み:

2023 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by