Get the data type of a parameter for an S-Function block
void ssGetSFcnParamDataType(SimStruct *S, int_T index, DTypeId *result)
S
SimStruct representing an S-Function block.
Index of the target parameter.
ID of the parameter data type.
Nothing
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
.
C, C++