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.

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 stvdtf.c used in sfcndemo_stvdtf.

Introduced before R2006a

Was this topic helpful?