Get the reusability setting of the memory allocated to the input port of an S-function
uint_T ssGetInputPortOptimOpts(SimStruct *S, int_T port)
S
SimStruct representing an S-Function block.
port
Index of an input port of S
.
One of the following values:
SS_NOT_REUSABLE_AND_GLOBAL
SS_REUSABLE_AND_LOCAL
SS_REUSABLE_AND_GLOBAL
SS_NOT_REUSABLE_AND_LOCAL
Use this macro to get the reusability of an S-function input port. For more
information about the possible return values, see ssSetInputPortOptimOpts
.
C, C++