Main Content
gsl_nSigRegions
Get the number of regions in an element of a signal list
Syntax
int gsl_nSigRegions(SimStruct *S,SL_SigList *slist, int idx)
Arguments
S
SimStruct that represents an S-Function block.
slist
Signal list generated using
ssCallSigListCreateFcn
.- idx
Index for an element within the signal list.
Returns
An int
that represents the number of regions within the element
at the given index in the signal list.
Description
Returns the number of regions in the element at the given index in the signal list.
Languages
C, C++
Examples
See the S-function barplot.c
.
See Also
Version History
Introduced in R2019a