Treat each discrete rate as a separate task
Specify whether Simulink® executes blocks with periodic sample times individually or in groups.
Selects multitasking execution for models operating at different sample rates. Specifies that groups of blocks with the same execution priority are processed through each stage of simulation (for example, calculating output and updating discrete states) based on task priority. The multitasking mode helps to create valid models of real-world multitasking systems, where sections of your model represent concurrent tasks.
Specifies that all blocks are processed through each stage of simulation together (for example, calculating output and updating discrete states). Use single-tasking execution if:
Your model contains one sample time.
Your model contains a continuous and a discrete sample time, and the fixed-step size is equal to the discrete sample time.
A multirate model with multitasking mode enabled cannot reference another multirate model that has the single-tasking mode enabled.
The Single task data transfer and Multitask data transfer parameters on the Diagnostics > Sample Time pane allow you to adjust error checking for sample rate transitions between blocks that operate at different sample rates.
This parameter is enabled by selecting the
Use local solver when referencing modelmust be disabled for this parameter to be enabled.
|Traceability||No impact for
simulation or during development|
Off for production code generation