Determine whether a port has direct feedthrough
int_T ssGetInputPortDirectFeedThrough(SimStruct *S, int_T port)
S
SimStruct representing an S-Function block.
port
Index of the port whose direct feedthrough property is required.
The int_T
value 1
if the input port
specified by the index port
has direct feedthrough. Otherwise,
returns 0
.
Use in any routine (except mdlInitializeSizes
) to determine
whether an input port has direct feedthrough.
C, C++