Get unit of output port
UnitId ssGetOutputPortUnit(SimStruct *S,int_T port);
S
SimStruct representing an S-Function block.
port
Index of an input port.
The unit ID of the output port specified by port
. Returns
DYNAMICALLY_TYPED
if the output port inherits its
unit.
Use ssGetOutputPortUnit
to obtain the unit of a particular
output port.
C, C++
UnitId id = ssGetOutputPortUnit(S,0);
mdlInitializeSizes
, ssGetNumOutputPorts
, ssRegisterUnitFromExpr
, ssSetInputPortUnit
, ssSetOutputPortUnit
, ssGetInputPortUnit