vssGetEventCode

Get block's event.

Syntax

vv = vssGetEventCode(block)

Inputs

block
Handle of the block used in the evaluation, compilation and simulation phases. The handle refers to an engine/core block structure.
Type: block
Dimension: -

Outputs

vv
Signal that has been retrieved.
Type: double | integer
Dimension: scalar | vector | matrix

Example

Get event in an OML custom block.

function OmlBlockFunction(block,flag)
   ...
   nevprt=vssGetEventCode(block);
   ...
end