EventToCode
This block outputs a binary code that defines the ports through which the block has been activated.
Library
Activate/ActivationOperations
Description
This block outputs a binary code that defines the ports through which the block has been activated. Every input port has its own binary code.
For more details, see the section on Activation in the Extended Definitions for Advanced Users.Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
nevin | Number of input event ports | Scalar integer value. Defines the number of input event ports on the block. Default is 2. | Number |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | activation | input | nevin | |
Port 2 | explicit | output | 1 |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |