vssGetState
Get the state of a block.
Syntax
vv = vssGetState(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
- State of the block.
Example
Define the variable x in an OML custom block as equal to the given block states.
function OmlBlockFunction(block,flag)
...
x=vssGetState(block);
...
end