Main Content
ssSetNumRunTimeParams
Specify the number of run-time parameters created by this S-function
Syntax
boolean_T ssSetNumRunTimeParams(SimStruct *S, int_T num)
Arguments
S
SimStruct that represents an S-Function block.
num
Number of run-time parameters.
Description
Use this function in mdlSetWorkWidths
to specify the number of
run-time parameters created by this S-function. See Create and Update S-Function Run-Time Parameters for more information.
Languages
C, C++
Examples
See the S-function sfun_runtime2.c
used in sfcndemo_runtime
.
Version History
Introduced before R2006a