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

답변 (1개)

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 Exchange에서 Schedule 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