ssGetDataTypeIsInteger
Determine whether registered data type is integer
Since R2020b
Syntax
extern int ssGetDataTypeIsInteger(SimStruct *S, DTypeId dataTypeId)
Arguments
S
SimStruct representing an S-function block.
dataTypeId
Data type ID of the registered data type to analyze, specified as a
DTypeId
. To retrieve theDTypeId
of 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