Declare that input port expects co-simulation signals
ssSetInputPortIsContinuousQuantity(SimStruct *S, *port, val)
SimStruct that represents an S-Function block.
Input port of the S-function block to expect co-simulation signals.
Int or boolean value (0 or 1) indicating if this port expects a co-simulation signal, which is a discrete-time signal that represents a continuous quantity.
Use this macro in an S-function to specify that an input port expects co-simulation signals that represent continuous quantities.
See the S-function used in
Introduced in R2018a