Is there a way to eliminate rate scheduler task from generated code when we have two different time sampling for blocks in model ?

回答 (1 件)

Jonas
Jonas 2021 年 10 月 15 日
Structure your model as an Export-Function.
Each task will appear in generated code without task scheduler. The task scheduler needs to be added externally when doing simulations, with a Stateflow chart for instance.

カテゴリ

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

製品

リリース

R2020b

質問済み:

2021 年 10 月 11 日

回答済み:

2021 年 10 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by