Main Content
Timing and Scheduling
Learn about simulation timing and scheduling
Time-based scheduling requirements apply to models that use a periodic interrupt source for timing. 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.
Topics
Timing Specification
- Specify Sample Time
Specify and assess sample time information, programmatically and interactively. - How Propagation Affects Inherited Sample Times
Blocks inherit sample times. - Sample Times in Systems and Subsystems
Simulink® calculates the sample times of discrete and hybrid systems, and virtual and enabled subsystems. - Specify Execution Domain
Enforce discrete dynamics for a model or subsystem.
Task Execution in Simulink
- Simulation Phases in Dynamic Systems
Discover how the Simulink software simulates a dynamic system. - Modeling for Multitasking Execution
Include blocks that use different sample rates, or use different sample rates for continuous and discrete parts of a model. - Union Rate
Entity having union sample time runs at all the component sample times of the union.
Data Transfers
- Handle Rate Transitions
Handle transitions between blocks with different periodic sample rates. - Rate Transitions and Asynchronous Blocks
Use Rate Transition blocks to handle data transfers to and from asynchronous blocks. - Resolve Rate Transitions
Learn how Simulink resolves rate transitions between blocks caused by different block sample times.