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 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, seesigregdef.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, andNULL
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.
语言
C, C++
Example
See the S-functionbarplot.c
.