ssCallSigListCreateFcn
Invoke the signal list creation function for an S-function
Syntax
const char_T * ssCallSigListCreateFcn(SimStruct *S,void *blk,int *numPorts,void ***ports,uint_T opts,SL_SigList **slist)
Arguments
SSimStruct that represents an S-Function block.
blkS-Function block.
numPortsNumber of ports in the array
ports.portsArray of port objects. Free the array using
ssCallGenericDestroyFcn.optsOptions for what to exclude in the signal list.
For more information about options, see sigregdef.h.
slistList of signals that correspond to a given set of ports. Free
slistusingssCallSigListDstroyFcn.
Returns
A pointer to a character vector containing an error description on failure, and
NULL if successful.
Description
Creates a signal list corresponding to a given set of ports. You can use the signal list to access data for the signals.
Languages
C, C++
Examples
See the S-function barplot.c.
Version History
Introduced in R2019a