文档ation

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, andNULLif successful.

Description

Frees an array of ports obtained using thessCallSelectedSignalsFcnfunction.

Languages

C, C++

Example

See the S-functionbarplot.c.

Introduced in R2019a