Main Content

Time-Based Scheduling

Solver, sample rates and transitions, tasking, real-time execution

Use fixed-step or variable-step solvers for models that run at one or more sample rates. Single-tasking and multitasking execution modes are available only for fixed-step solvers. A real-time program executes model code synchronously with real time.

To generate code that executes in real time, identify and handle sample rate transitions within the model.

Topics