Get the reusability setting of the memory allocated to the output port of an S-function
uint_T ssGetOutputPortOptimOpts(SimStruct *S, int_T port)
S
SimStruct representing an S-Function block.
port
Index of an output 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 output port. For more
information about these values, see ssSetOutputPortOptimOpts
.
C, C++