ssGetDataTypeIsSpecifiedInteger
Determine whether registered data type is integer with specified signedness and word length
Since R2020b
Syntax
extern int ssGetDataTypeIsInteger(SimStruct *S, DTypeId dataTypeId, int isSigned, int wordLength)
Arguments
S
SimStruct representing an S-function block.
dataTypeId
Data type ID of the registered data type for which you want to determine if the data type is a specified integer type.
isSigned
TRUE
if the registered data type is signed.FALSE
if the registered data type is unsigned.wordLength
Total number of bits in the registered data type, including any sign bit.
Description
This function determines whether a registered data type is an a specified integer data type.
Requirement
To use this function, you must include fixedpoint.h
and
fixedpoint.c
.
Languages
C
TLC Functions
FixPt_DataTypeIsSpecifiedInteger
Version History
Introduced in R2020b