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
S
SimStruct that represents 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
usingssCallSigListDstroyFcn
.
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