Señales
Las señales transmiten datos entre dos bloques en una simulación. Los datos pueden ser la salida calculada de un bloque o simplemente un mensaje. El valor de las señales se calcula en todos los puntos durante el tiempo de simulación. Puede visualizar los datos y las propiedades de la señal durante y después de la simulación, ver los valores en tiempo real en un diagrama de bloques o registrar los valores como variables en el área de trabajo. Además, puede exportar las señales a un archivo o a un espacio de trabajo para investigar más a fondo.
Puede controlar el comportamiento matemático de un modelo especificando las características de la señal, como el tipo de datos numéricos, el valor inicial y el rango de valores. Para obtener más información, consulte Signal Basics.
Bloques
Funciones
Objetos
sltrace.Graph | Signal path traced using sltrace function (desde R2021b) |
Herramientas
Signal Properties | View and edit signal properties |
Instrumentation Properties | View and edit logging and visualization properties for logged signal |
Property Inspector | Edit parameters and properties for any Simulink model element |
Model Data Editor | Inspect and edit data items (signals, parameters, and states) in a table that you can sort, group, and filter |
Temas
Introducción a las señales
- Signal Basics
Create, configure, identify, and test signals. - Signal Types
Learn about different types of signals, such as control signals and composite signals. - Signal Groups
Test or debug models by creating interchangeable groups of signal data.
Propiedades de una señal
- Investigate Signal Values
Initialize, access, and view the values that signals have during a simulation run. - Specify Signal Ranges
Specify the minimum and maximum value that a signal can attain during simulation. Fully specify your design and optimize data types and the generated code by specifying the minimum and maximum value that a signal can attain during simulation. - Determine Signal Dimensions
Inspect and control signal dimensionality. - Initialize Signals and Discrete States
Some systems contain signals and states whose initial values you must specify, for example, the starting position and velocity of a bouncing ball. - Configure Signals as Test Points
Use test points to exclude signal lines from optimizations which enables you to access the simulation data. - Specify Common Set of Signal Properties as Value Type
Create a reusable value type for common signal properties, such as the application-specific signal properties of wind velocity. (desde R2021b)
Mostrar las propiedades de una señal
- Highlight Signal Sources and Destinations
Trace a signal to its source or destination while debugging or exploring a model. - View Signal Values Using Port Value Labels
View signal values in the block diagram during simulation to understand, analyze, and debug your model. - Display Signal Attributes
Improve model readability by displaying signal attributes, such as data types and dimensions, in the block diagram. - Signal Label Propagation
Name a signal to identify and access it more easily. Take advantage of signal label propagation to reduce the effort of naming a signal that crosses system boundaries. - Trace Connections Using Interface Display
Display interfaces to trace signals through the nested levels, annotate signal characteristics, and view units associated with signals.
Señales de tamaño variable
- Variable-Size Signal Basics
Create a variable-size signal whose size and values can change during a simulation. - Inspect Variable-Size Signals on Simulink Models
Inspect example models that show how to use variable-size signals. - Unbounded Variable-Size Signals
Model unknown size data using dynamic arrays.