Main Content

ssGetNumNonsampledZCs

Get the size of the zero-crossing vector

Syntax

int_T ssGetNumNonsampledZCs(SimStruct *S)

Arguments

S

SimStruct that represents an S-Function block.

Returns

An int_T value indicating the size of the zero-crossing vector.

Description

Use this macro in any routine except mdlInitializeSizes to obtain the size of the zero-crossing vector.

Languages

C, C++

Examples

See the S-function sfun_zc_sat.c used in sfcndemo_sfun_zc_sat.

Version History

Introduced before R2006a