Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS