ssGetOutputPortIsContinuousQuantity
Determine if output port generates co-simulation signals
Syntax
int_T ssGetOutputPortIsContinuousQuantity(SimStruct *S, *port)
Arguments
S
SimStruct that represents an S-Function block.
port
Output port of the S-function block to generate co-simulation signals.
Returns
An int_T
(1
or 0
) value
indicating if the output port generates co-simulation signals.
Description
Use this macro in an S-function to determine if an output port generates co-simulation signals that represent continuous quantities.
Languages
C, C++
Examples
See the S-function used in
matlabroot
\toolbox\simulink\sfuntemplates\src\cosim_plant1_sfcn.c
See Also
ssGetInputPortIsContinuousQuantity
, ssSetInputPortIsContinuousQuantity
, ssSetOutputPortIsContinuousQuantity
Version History
Introduced in R2018a