Control / Discrete / Edge Detector

Description
Detects transitions between zero and non-zero input values. The output is 1 for the simulation step on which the selected edge is observed and 0 otherwise.
Library
Control > Discrete
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| Type | Type | EdgeDetectorTypeParameter | Edge type to detect. |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| In | In | ControlIn | Input signal. |
| Out | Out | ControlOut | One-step edge-detection output. |
Default Size
| Width | Height |
|---|---|
| 4 | 4 |