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

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