Check Signal Attributes
R2026bError when input signal does or does not match selected attributes exactly
Libraries:
DSP System Toolbox /
Signal Management /
Signal Attributes
Description
The Check Signal Attributes block terminates the simulation with an error when the input characteristics differ from the characteristics you specify in the block parameters.
The Check Signal Attributes block can test for up to five different signal attributes.
When you select Ignore for any parameter, the block does not
check the signal for the corresponding attribute. For example, when you set
Complexity to Ignore, neither real
nor complex inputs cause the block to generate an error.
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"dspsigattribs/Check Signal Attributes"
Example: add_block("dspsigattribs/Check Signal Attributes","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced before R2006a
See Also
Buffer | Data Type Conversion (Simulink) | Inherit Complexity | Probe (Simulink) | Reshape (Simulink) | Submatrix (Simulink)