ssSetNumSFcnParams
Specify the number of parameters that an S-Function block has
Syntax
int_T ssSetNumSFcnParams(SimStruct *S, int_T nSFcnParams)
Arguments
SSimStruct that represents an S-Function block.
nSFcnParamsNumber of parameters that
Shas.
Returns
The number of parameters specified in nSFcnParams.
Description
Use in mdlInitializeSizes to set the number of expected
S-function parameters.
Languages
C, C++
Examples
See the S-function stvdtf.c used in sfcndemo_stvdtf.
See Also
Version History
Introduced before R2006a