Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

    Tip:   Use ssGetNumSFcnParams to obtain the number of parameters S expects

Languages

C, C++

Example

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

Introduced before R2006a

Was this topic helpful?