Get the number of parameters that an S-Function block expects
int_T ssGetNumSFcnParams(SimStruct *S)
S
SimStruct representing an S-Function block.
An int_T
value indicating the number of expected S-function
parameters.
Use to determine the number of parameters that S
expects the
user to enter.
Tip
Use ssGetSFcnParamsCount
to determine the number of
parameters the user actually entered for S
.
C, C++
See the S-function stvctf.c
used in sfcndemo_stvctf
and the S-function csfunc.c
used in sfcndemo_csfunc
.