The sample time of a block is a parameter that indicates when, during simulation, the block produces outputs and if appropriate, updates its internal state. The internal state includes but is not limited to continuous and discrete states that are logged. In engineering, sample time refers to the rate at which a discrete system samples its inputs. Simulink allows you to model single-rate and multirate discrete systems and hybrid continuous-discrete systems through the appropriate setting of block sample times that control the rate of block execution (calculations).
- Types of Sample Time
How Simulink® represents and categorizes sample times.
- Specify Sample Time
Methods for programmatically and interactively specifying and accessing sample time information.
- View Sample Time Information
How to access sample time information interactively.
- Sample Times in Subsystems
How Simulink calculates the sample times of virtual and enabled subsystems.
- Sample Times in Systems
How Simulink calculates the sample times of discrete and hybrid systems.
- Block Compiled Sample Time
How to access the sample rate of a block during simulation.
- Resolve Rate Transitions
How Simulink resolves rate transitions between blocks caused by different block sample times.
- How Propagation Affects Inherited Sample Times
How blocks inherit sample times.
- Backpropagation in Sample Times
How backward propagation of sample time works.
- Specify Execution Domain
Enforce discrete dynamics for a model or subsystem.