Simulink Reference Previous page   Next Page
Probe

Output a signal's attributes, including width, dimensionality, sample time, and/or complex signal flag

Library

Signal Attributes

Description


The Probe block outputs selected information about the signal on its input. The block can output the input signal's width, dimensionality, sample time, and/or a flag indicating whether the input is a complex-valued signal. The block has one input port. The number of output ports depends on the information that you select for probing, that is, signal dimensionality, sample time, and/or complex signal flag. Each probed value is output as a separate signal on a separate output port. The block accepts real or complex-valued signals of any built-in data type. It outputs signals of type double. During simulation, the block's icon displays the probed data.

Data Type Support

The Probe block accepts and outputs any data type supported by Simulink, including fixed-point data types.

For a discussion on the data types supported by Simulink, refer to Data Types Supported by Simulink in the Using Simulink documentation.

Parameters and Dialog Box

The Main pane of the Probe block dialog appears as follows:

Probe width
Select to output the width, or number of elements, of the probed signal.
Probe sample time
Select to output the sample time of the probed signal. The output is a 2x1 vector that specifies the period and offset of the sample time, respectively. See Specifying Sample Time for more information.
Probe complex signal
Select to output 1 if the probed signal is complex; otherwise, 0.
Probe signal dimensions
Select to output the dimensions of the probed signal.
Detect framed signal
Select to output 1 if the probed signal is framed; otherwise, 0.

The Signal data types pane of the Probe block dialog appears as follows:

Data type for width
Select the output data type for the width information.
Data type for sample time
Select the output data type for the sample time information.
Data type for signal complexity
Select the output data type for the complexity information.
Data type for signal dimensions
Select the output data type for the dimensions information.
Data type for signal frames
Select the output data type for the frames information.

Characteristics

Direct Feedthrough
Yes
Sample Time
Inherited from driving block
Scalar Expansion
Yes
Dimensionalized
Yes
Zero Crossing
No


Previous page  Product of Elements Pulse Generator Next page

© 1994-2005 The MathWorks, Inc.