Main Content

gsr_nEls

Get the number of elements in a region

Syntax

int gsr_nEls(SL_SigRegion *reg)

Arguments

reg

Signal region.

Returns

An int that represents the number of elements within the signal region.

Description

Returns the number of elements in a signal region.

Languages

C, C++

Examples

See the S-function barplot.c.

Version History

Introduced in R2019a