DSP Blockset    
Check Signal Attributes

Generate an error when the input signal does or does not match selected attributes exactly.

Library

Signal Management / Signal Attributes

Description

The Check Signal Attributes block terminates the simulation with an error when the input characteristics differ from those specified by the block parameters.

When the Error if input parameter is set to Does not match attributes exactly, the block generates an error only when the input possesses none of the attributes specified by the other parameters. Signals that possess at least one of the specified attributes are propagated to the output unaltered, and do not generate an error.

When the Error if input parameter is set to Matches attributes exactly, the block generates an error only when the input possesses all attributes specified by the other parameters. Signals that do not possess all of the specified attributes are propagated to the output unaltered, and do not generate an error.

Signal Attributes

The Check Signal Attributes block can test for up to five different signal attributes, as specified by the following parameters. When Ignore is selected in any parameter, the block does not check the signal for the corresponding attribute. For example, when Complexity is set to Ignore, neither real nor complex inputs cause the block to generate an error. The attributes are:

Dialog Box

Error if input
Specifies whether the block generates an error when the input possesses none of the required attributes (Does not match attributes exactly), or when the input possesses all of the required attributes (Matches attributes exactly).
Complexity
The complexity for which the input should be checked, Real or Complex.
Frame status
The frame status for which the input should be checked, Sample-based or Frame-based.
Dimensionality
Specifies whether the input should be checked for compliance (Is...) or noncompliance (Is not...) with the attributes in the subordinate Dimension menu.
Dimensions
The dimensions for which the input should be checked. This parameter is available when Is... or Is not... is selected in the Dimensionality menu.
Data type
Specifies whether the input should be checked for compliance (Is...) or noncompliance (Is not...) with the attributes in the subordinate General data type menu.
General data type
The general data type for which the input should be checked. This parameter is available when Is... or Is not... is selected in the Data type menu, and enables the subordinate Specific data type parameter in most cases.
Specific data type
The specific data type for which the input should be checked. This parameter is available when Floating-point, Fixed-point, or Integer is selected in the General data type menu.
Sample mode
The sample mode for which the input should be checked, Discrete or Continuous.

Supported Data Types

To learn how to convert to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.

See Also

Buffer
DSP Blockset
Convert 1-D to 2-D
DSP Blockset
Convert 2-D to 1-D
DSP Blockset
Data Type Conversion
Simulink
Frame Status Conversion
DSP Blockset
Inherit Complexity
DSP Blockset
Probe
Simulink
Reshape
Simulink
Submatrix
DSP Blockset

Also see Signal Attributes for a list of all the blocks in the Signal Attributes library.


  Burg Method Chirp