Main Content

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 for which you want to determine if the data type is an integer.

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