Invoke the selected signals function for an S-function
const char_T * ssCallSelectedSignalsFcn(SimStruct *S,void *blk,opts,void ***ports,int *numPorts)
S
SimStruct representing an S-Function block.
blk
S-Function block.
opts
SIGSET_GRAPH
or
SIGSET_GRAPH_N_CHILDREN
. Specify whether to get
ports from only the current graph or to include child graphs.
ports
Array of port objects. Free the array using
ssCallGenericDestroyFcn
.
numPorts
Number of ports in the array ports
.
A pointer to a character vector containing an error description on failure, and
NULL
if successful.
Creates an array of selected output ports. You can use the ports with
ssCallSigListCreateFcn
to access the port data.
C, C++
See the S-function barplot.c
.