ssGetDataTypeIsInteger
Determine whether registered data type is integer
Syntax
extern int ssGetDataTypeIsInteger(SimStruct *S, DTypeId dataTypeId)
Arguments
SSimStruct representing an S-function block.
dataTypeIdData type ID of the registered data type to analyze, specified as a
DTypeId. To retrieve theDTypeIdof a registered data type, usessGetDataTypeId.
Returns
This function returns 1 if the registered data type is an
integer, and 0 otherwise.
Description
This function determines whether a registered data type is an integer data type.
Requirement
To use this function, you must include fixedpoint.h and
fixedpoint.c.
Languages
C
TLC Functions
FixPt_DataTypeIsInteger
Version History
Introduced in R2020b