Invoke the signal list creation function for an S-function
const char_T * ssCallSigListCreateFcn(SimStruct *S,void *blk,int *numPorts,void ***ports,uint_T opts,SL_SigList **slist)
S
SimStruct representing an S-Function block.
blk
S-Function block.
numPorts
Number of ports in the array ports
.
ports
Array of port objects. Free the array using
ssCallGenericDestroyFcn
.
opts
Options for what to exclude in the signal list.
For more information about options, see sigregdef.h.
slist
List of signals that correspond to a given set of ports. Free
slist
using
ssCallSigListDstroyFcn
.
A pointer to a character vector containing an error description on failure, and
NULL
if successful.
Creates a signal list corresponding to a given set of ports. You can use the signal list to access data for the signals.
C, C++
See the S-function barplot.c
.