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

Respuestas (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.

Categorías

Más información sobre Schedule Model Components en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

el 11 de Oct. de 2021

Respondida:

el 15 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by