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.

ssSetNumRunTimeParams

Specify the number of run-time parameters created by this S-function

Syntax

boolean_T ssSetNumRunTimeParams(SimStruct *S, int_T num)

Arguments

S

SimStruct representing an S-Function block.

num

Number of run-time parameters.

Description

Use this function in mdlSetWorkWidths to specify the number of run-time parameters created by this S-function. See Run-Time Parameters for more information.

Languages

C, C++

Example

See the S-function sfun_runtime2.c used in sfcndemo_runtime.

Introduced before R2006a

Was this topic helpful?