| Simulink® | ![]() |
Logic and Bit Operations

The Detect Change block determines if an input does not equal its previous value where
The output is true (equal to 1), when the input signal does not equal its previous value.
The output is false (equal to 0), when the input signal equals its previous value.
The Detect Change 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 for the previous input U/z.
Direct Feedthrough | Yes |
Scalar Expansion | Yes |
Detect Decrease, Detect Fall Negative, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive
![]() | Derivative | Detect Decrease | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |