ssGetSFcnParam

Get a parameter of an S-Function block

Syntax

const mxArray *ssGetSFcnParam(SimStruct *S, int_T index)

Arguments

S

SimStruct representing an S-Function block.

index

Index of the parameter to be returned.

Returns

A pointer (const mxArray *) to the value of the S-function parameter specified by index.

Description

Use in any routine to access a parameter entered in the S-Function Block Parameters dialog box, where index starts at 0 and is less than ssGetSFcnParamsCount(S).

Languages

C, C++

Was this topic helpful?