Main Content

ssGetNumNonsampledZCs

Get the size of the zero-crossing vector

Syntax

int_T ssGetNumNonsampledZCs(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

Anint_Tvalue indicating the size of the zero-crossing vector.

Description

Use this macro in any routine exceptmdlInitializeSizesto obtain the size of the zero-crossing vector.

语言

C, C++

Example

See the S-functionsfun_zc_sat.cused insfcndemo_sfun_zc_sat.

Version History

Introduced before R2006a