Interval Test Dynamic
R2026bDetermine if signal is in specified interval
Libraries:
Simulink /
Logic and Bit Operations
Description
The Interval Test Dynamic block outputs true (1) if
the input is between the values of the external signals up and
lo. The block outputs false (0) if the input
is outside those values. To control how the block handles input values that are equal to
the signal lo or the signal up, use the
Interval closed on left and Interval closed on
right check boxes.
Examples
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.
"simulink/Logic and Bit Operations/Interval Test Dynamic"
Example: add_block("simulink/Logic and Bit Operations/Interval Test Dynamic","myModel/myBlock",MakeNameUnique="on")

