ssCallGenericDestroyFcn
Invoke the generic destruction function for an S-function
Syntax
const char_T * ssCallGenericDestroyFcn(SimStruct *S,void **ports)
Arguments
-
S
-
SimStruct representing an S-Function block.
-
ports
-
Array of port objects.
Returns
A pointer to a character vector containing an error description on failure, andNULL
if successful.
Description
Frees an array of ports obtained using thessCallSelectedSignalsFcn
function.
Languages
C, C++
Example
See the S-functionbarplot.c
.