Abtastzeit
Die Abtastzeit eines Blocks ist ein Parameter, der angibt, wann der Block während der Simulation Ausgaben erzeugt und gegebenenfalls seinen internen Zustand aktualisiert. Der interne Zustand umfasst stetige und diskrete Zustände, die protokolliert werden, ist aber nicht darauf beschränkt. In der Technik bezieht sich die Abtastzeit auf die Rate, mit der ein diskretes System seine Eingaben abtastet. Mit Simulink können Sie diskrete Systeme mit einer Rate und mit mehreren Raten sowie hybride stetig-diskrete Systeme modellieren, indem Sie die Abtastzeiten der Blöcke entsprechend einstellen, die die Rate der Blockausführung (Berechnungen) steuern.
Funktionen
Simulink.BlockDiagram.getSampleTimes | Return all sample times associated with model |
Simulink.Block.getSampleTimes | Return sample time information for a block |
Klassen
Simulink.SampleTime | Object containing sample time information |
Simulink.BlockPortData | Describe block input or output port |
Themen
- Types of Sample Time
How Simulink® represents and categorizes sample times.
- Specify Sample Time
Specify and assess sample time information, programmatically and interactively.
- 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 and Subsystems
Simulink calculates the sample times of discrete and hybrid systems, and virtual and enabled subsystems.
- Block Compiled Sample Time
How to access the sample rate of a block during simulation.
- Resolve Rate Transitions
Learn how Simulink resolves rate transitions between blocks caused by different block sample times.
- How Propagation Affects Inherited Sample Times
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.