Main Content

Time-Based Scheduling

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

Models run at one or more sample times. The flexibility offered for developing multirate models imposes challenges for generating code that can execute in real time in a multitasking environment. To make multirate models operate as expected in real time (that is, to give the right answers), you sometimes must modify a model or instruct the Simulink® engine to modify the model for you.