gsr_nEls

Get the number of elements in a region

Syntax

int gsr_nEls(SL_SigRegion *reg)

Arguments

reg

Signal region.

Returns

An int representing the number of elements within the signal region.

Description

Returns the number of elements in a signal region.

Languages

C, C++

Example

See the S-function barplot.c.

Introduced in R2019a