Main Content

ssGetSFcnParamDataType

Get the data type of a parameter for an S-Function block

Syntax

void ssGetSFcnParamDataType(SimStruct *S, int_T index, DTypeId *result)

Arguments

S

SimStruct that represents an S-Function block.

index

Index of the target parameter.

result

ID of the parameter data type.

Returns

Nothing

Description

Use ssGetSFcnParamDataType to obtain the data type of a parameter for an S-Function block. Use the argument index to specify an index between zero and the return value of ssGetSFcnParamsCount(S).

For a list of values for the data type ID DTypeId, see ssGetInputPortDataType.

Languages

C, C++

Version History

Introduced in R2006a