ssCallSelectedSignalsFcn
Invoke the selected signals function for an S-function
Syntax
const char_T * ssCallSelectedSignalsFcn(SimStruct *S,void *blk,opts,void ***ports,int *numPorts)
Arguments
SSimStruct that represents an S-Function block.
blkS-Function block.
optsSIGSET_GRAPHorSIGSET_GRAPH_N_CHILDREN. Specify whether to get ports from only the current graph or to include child graphs.portsArray of port objects. Free the array using
ssCallGenericDestroyFcn.numPortsNumber of ports in the array
ports.
Returns
A pointer to a character vector containing an error description on failure, and
NULL if successful.
Description
Creates an array of selected output ports. You can use the ports with
ssCallSigListCreateFcn to access the port data.
Languages
C, C++
Examples
See the S-function barplot.c.
Version History
Introduced in R2019a