ssGetDataTypeIdAliasedThruTo

Get the built-in data type associated with a data type alias

Syntax

DTypeId ssGetDataTypeIdAliasedThruTo(SimStruct *S, DTypeId id)

Arguments

S

SimStruct representing an S-Function block.

id

ID of the data type alias.

Returns

The built-in data type ID associated with the data type alias specified by id.

Description

Use to obtain the built-in data type associated with a data type alias. For a list of built-in values for the data type ID DtypeId, see ssGetInputPortDataType.

    Note:   ssGetDataTypeIdAliasedThruTo requires that you use ssSetOptions to set the SS_OPTION_SUPPORTS_ALIAS_DATA_TYPES option in order for your to S-function recognize data type aliases.

The Simulink® Coder™ product does not support S-functions that contain custom data types. Attempting to generate code for a model that contains this macro results in an error.

Languages

C, C++

Was this topic helpful?