[Simulink] How can I specify to start a matlab embedded function's execution only when receiving a specific signal ?

I am using several matlab embedded functions in my simulink model.
When executing, I need some of my functions to start producing their outputs only after receiving a specific signal. How can I program this?
Thank you in advance for your answer.

 採用された回答

Jonas
Jonas 2021 年 4 月 12 日
Put the MATLAB Function inside an Enabled Subsystem.

その他の回答 (0 件)

カテゴリ

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

製品

リリース

R2020b

質問済み:

2021 年 4 月 12 日

コメント済み:

2021 年 4 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by