Timers and Scheduling
Time-based scheduling requirements apply to models that use a periodic interrupt source (for example, a hardware timer) for timing.
The code generator supports time- and event-based scheduling requirements. Time-based scheduling requirements apply to models that use a periodic interrupt source (for example, a hardware timer) for timing. Event-based scheduling requirements apply to systems that must also support execution of blocks in response to events. These events are asynchronous with respect to the periodic timing source of the system.
Simulink® functions and function callers, function-call subsystems, and triggered subsystems provide a way to model reusable system components from which you can generate reusable, standalone function code. In these cases, you integrate generated function code with other function code and a run-time environment that includes scheduling support.
Categories
- Timers
 Absolute and elapsed timers
 
- Time-Based Scheduling
 Solver, sample rates and transitions, tasking, and real-time execution
 
- Event-Based Scheduling
 Asynchronous event handling, rate transitions, timers, event data
 
- Data Transfers
 Customize data transfer behavior for specific applications
 

