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.
 
Outputs
- vv
 - Signal that has been retrieved.
 
Example
Get event in an OML custom block.
function OmlBlockFunction(block,flag)
   ...
   nevprt=vssGetEventCode(block);
   ...
end