Writing S-Functions    
ssGetDataTypeName

Get the name of a data type.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

id
   ID of data type.

Description

Returns the name of the data type specified by id, if id is valid. Otherwise, this macro returns NULL and reports an error. Because this macro reports any error that occurs, you do not need to use ssSetErrorStatus to report the error.

Example

The following example gets the name of a custom data type.

Languages

C

See Also
ssRegisterDataType


  ssGetDataTypeId ssGetDataTypeSize