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.

ssGetSFcnParamName

Get the value of a block parameter for an S-function block

Syntax

void ssGetSFcnParamName (SimStruct *S, int paramNum, char *value)

Arguments

S

SimStruct that represents an S-Function block

paramNum

The zero-based index into the S-function parameters

Value

Value of the parameter specified in the block dialog box

Returns

Nothing

Description

Use in mdlInitializeSizes to determine the value of a parameter in the Block Parameters dialog box. Typically, one parameter specifies a bus object name that corresponds to the bus input into this block. Use ssGetSFcnParamName to determine the name of the bus object that is entered in the S-function block parameter.

Languages

C, C++

Introduced in R2010a

Was this topic helpful?