Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

ssGetSFcnParamsCount - Get the number of block dialog parameters that an S-Function block has

Syntax

int_T ssGetSFcnParamsCount(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

An int_T value.

Description

Use to query the number of parameters that a user entered into the Block Parameters dialog box for the S-Function block represented by S.

Languages

C, C++

Example

See the S-function matlabroot/toolbox/simulink/simdemos/simfeatures/src/stvctf.c used in sfcndemo_stvctf.mdl and the S-function matlabroot/toolbox/simulink/simdemos/simfeatures/src/csfunc.c used in sfcndemo_csfunc.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