ssSetNumSFcnParams - Specify the number of parameters that an S-Function block has
Syntax
int_T ssSetNumSFcnParams(SimStruct *S, int_T nSFcnParams)
Arguments
- S
SimStruct representing an S-Function block.
- nSFcnParams
Number of parameters that S has.
Returns
The number of parameters specified in nSFcnParams.
Description
Use in mdlInitializeSizes to set the number
of expected S-function parameters.
Languages
C, C++
Example
See the S-function matlabroot/toolbox/simulink/simdemos/simfeatures/src/stvdtf.c used
in sfcndemo_stvdtf.mdl.
See Also
ssGetNumSFcnParams
 | ssSetNumSampleTimes | | ssSetOffsetTime |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit