Main Content

gsl_FirstReg

Get the first region of an element in a signal list

Syntax

SL_SigRegion * gsl_FirstReg(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

The first region of the element at the given index in the signal list.

Description

Returns the first region in the element at the given index in the signal list.

Languages

C, C++

Examples

See the S-function barplot.c.

Version History

Introduced in R2019a