Writing S-Functions | ![]() ![]() |
Syntax
Arguments
S
SimStruct representing an S-Function block.
Description
Returns the ID of the data type specified by name
if name
is a registered type name. Otherwise, this macro returns INVALID_DTYPE_IDL
and reports an error. Because this macro reports any error that occurs, you do not need to use ssSetErrorStatus
to report the error.
Languages
Example
The following example gets the ID of the data type named Color
.
See Also
ssRegisterDataType
![]() | ssGetContStates | ssGetDataTypeName | ![]() |