Detect Decrease
R2026bDetect decrease in signal value
Libraries:
Simulink /
Logic and Bit Operations
Description
The Detect Decrease block determines if an input is strictly less than its previous value.
This block supports only discrete sample times.
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/Detect Decrease"
Example: add_block("simulink/Logic and Bit Operations/Detect Decrease","myModel/myBlock",MakeNameUnique="on")

