Tiempo de muestreo
El tiempo de muestreo de un bloque es un parámetro que indica cuándo, durante la simulación, el bloque produce salidas y, si corresponde, actualiza su estado interno. El estado interno incluye, entre otros, los estados continuos y discretos que se registran. En ingeniería, el tiempo de muestreo hace referencia al ritmo al que un sistema discreto muestrea sus entradas. Simulink permite modelar sistemas discretos de frecuencia única y multifrecuencia y sistemas híbridos continuos-discretos a través de la configuración adecuada de tiempos de muestreo de bloques que controlan el ritmo de ejecución de bloques (cálculos).
Funciones
Simulink.BlockDiagram.getSampleTimes | Return all sample times associated with model |
Simulink.Block.getSampleTimes | Return sample time information for a block |
Clases
Simulink.SampleTime | Object containing sample time information |
Simulink.BlockPortData | Describe block input or output port |
Temas
- Types of Sample Time
How Simulink® represents and categorizes sample times.
- Especificar el tiempo de muestreo
Métodos para especificar y acceder a información sobre el tiempo de muestreo de forma programática e interactiva.
- 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.