Skip to Main Content Skip to Search
Product Documentation

ssGetNumSFcnParams - Get the number of parameters that an S-Function block expects

Syntax

int_T ssGetNumSFcnParams(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

An int_T value indicating the number of expected S-function parameters.

Description

Use to determine the number of parameters that S expects the user to enter.

Languages

C, C++

Example

See the S-function stvctf.c used in sfcndemo_stvctf.mdl and the S-function csfunc.c used in sfcndemo_csfunc.mdl.

See Also

ssSetNumSFcnParams ssGetSFcnParamsCount

  


Related Products & Applications

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

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