Documentation

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 representing 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 Run-Time Parameters for more information.

Languages

C, C++

Example

See the S-function sfun_runtime2.c used in sfcndemo_runtime.

Introduced before R2006a

Was this topic helpful?