Main Content

Signals

Configure and display signal properties

Signals transmit data between two blocks in a simulation. The data could be the calculated output of a block, or simply a message. The value of signals are calculated at all points during the simulation time. You can display the signal data and properties during and after simulation, see the real-time values on a block diagram, or you can log the values as variables in the workspace. Also, you can export the signals to a file or to a workspace to investigate further.

You can control the mathematical behavior of a model by specifying signal characteristics such as numeric data type, initial value, and value range.

Bloques

Signal SpecificationSpecify desired dimensions, sample time, data type, numeric type, and other attributes of signal
Bus to VectorConvert virtual bus to vector
ICSet initial value of signal
ProbeOutput signal attributes, including width, dimensionality, sample time, and complex signal flag
Rate TransitionHandle transfer of data between blocks operating at different rates
Signal EditorDisplay, create, edit, and switch interchangeable scenarios
Signal ConversionConvert signal to new type without altering signal values
Weighted Sample TimeSupport calculations involving sample time
WidthOutput width of input vector

Funciones

disableimplicitsignalresolutionConvert model to use only explicit signal resolution
signalBuilderToSignalEditorImport signal data and properties from Signal Builder block to Signal Editor block
signalEditorStart Signal Editor
Simulink.SignalSpecify instance-specific properties of signal or discrete state
Simulink.ValueTypeSpecify properties of signals based on application-specific value types
sltraceTrace signals in a model
highlightHighlight tracing results
removehighlightRemove highlighted tracing results

Clases

sltrace.GraphProvide tracing information as graph for structure analysis

Herramientas

Signal PropertiesView and edit signal properties
Instrumentation PropertiesView and edit logging and visualization properties for logged signal
Property InspectorEdit parameters and properties for any Simulink model element
Model Data EditorInspect and edit data items (signals, parameters, and states) in a table that you can sort, group, and filter

Temas

Get Started with Signals

  • 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.

Signal Properties

Display Signal Properties

Variable-Size Signals