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

4 views (last 30 days)
Subsystem blocks with different sample times

Answers (1)

Jonas
Jonas on 15 Oct 2021
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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!