Main Content
ssCallGenericDestroyFcn
Invoke the generic destruction function for an S-function
Syntax
const char_T * ssCallGenericDestroyFcn(SimStruct *S,void **ports)
Arguments
S
SimStruct that represents an S-Function block.
ports
Array of port objects.
Returns
A pointer to a character vector containing an error description on failure, and
NULL
if successful.
Description
Frees an array of ports obtained using the
ssCallSelectedSignalsFcn
function.
Languages
C, C++
Examples
See the S-function barplot.c
.
See Also
Version History
Introduced in R2019a