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

The Detect Fall Nonpositive block determines if the input is less than or equal to zero, and its previous value was positive where
The output is true (equal to 1), when the input signal is less than or equal to zero, and its previous value was greater than zero.
The output is false (equal to 0), when the input signal is greater than zero, or if it is nonpositive, its previous value was nonpositive.
The Detect Fall Nonpositive 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 Negative, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive
![]() | Detect Fall Negative | Detect Increase | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |