blockIntegerToBoolean
Convert Integer to Boolean signal
Extends from Interfaces.partialBooleanSO (Partial block with 1 output Boolean signal).
Information
This block computes the Boolean output y from the Integer input u by the equation:
y = u ≥ threshold;
where threshold is a parameter.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | threshold | 1 | Output signal y is true, if input u >= threshold |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Blocks.Interfaces.IntegerInput | u | Connector of Integer input signal | |
| Blocks.Interfaces.BooleanOutput | y (from partialBooleanSO) | Connector of Boolean output signal |