| Simulink® | ![]() |
Detect falling edge when signal's value decreases to strictly negative value, and its previous value was nonnegative
Logic and Bit Operations

The Detect Fall Negative block determines if the input is less than zero, and its previous value was greater than or equal to zero where
The output is true (equal to 1), when the input signal is less than zero, and its previous value was greater than or equal to zero.
The output is false (equal to 0), when the input signal is greater than or equal to zero, or if the input signal is nonnegative, its previous value was positive or zero.
The Detect Fall Negative block accepts signals of any data type supported by Simulink® software, including fixed-point data types. The block output is uint8.

Set the initial condition of the Boolean expression U/z < 0.
Direct Feedthrough | Yes |
Scalar Expansion | Yes |
Detect Change, Detect Decrease, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive
![]() | Detect Decrease | Detect Fall Nonpositive | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |