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_T
value indicating the size of the zero-crossing vector.
Description
Use this macro in any routine exceptmdlInitializeSizes
to obtain the size of the zero-crossing vector.
语言
C, C++
Example
See the S-functionsfun_zc_sat.c
used insfcndemo_sfun_zc_sat
.