Main Content

gsr_N

Get the number of rows in or width of a signal

Syntax

int gsr_N(SL_SigRegion *reg)

Arguments

reg

Signal region.

Returns

An int representing the number of rows for a signal region or the width of a signal if the signal region does not correspond to a matrix signal.

Description

Returns the number of rows for the matrix signal corresponding to the signal region or the width of the signal if the signal region does not correspond to a matrix signal.

Languages

C, C++

Example

See the S-function barplot.c.

Introduced in R2019a