Table A-7: Model.rtw Data Types
Variable/Record Name
|
Description
|
DataTypes {
|
Data types defining all built-in (double , single , int8 , uint8 , int16 , uint16 , int32 , uint32 , boolean , fcn_call , integer, pointer , action ) and any blockset specific data types found within your model.
|
NumDataTypes
|
Integer, total number DataType records that follow. This includes one record for each built-in data type plus specific records for blocksets.
|
NumSLBuiltInDataTypes
|
Integer, number of Simulink built-in data types (less than or equal to NumDataTypes ).
|
StrictBooleanCheckEnabled
|
Integer (0/1) Flag that indicating whether model had boolean data types enabled or not.
|
DataType {
|
One record for each data type in use.
|
DTName
|
ASCII data type name.
|
Id
|
Actual data type identifer which is used in Simulink. This is an integer that corresponds to the data type name.
|
IdAliasedTo
|
Aliased-to data type identifier which is used in Simulink.
|
IdResolvesTo
|
Resolves-to data type identifier which is used in Simulink.
|
}
|
|
IsSigned
|
Integer (0 or 1 ) flag indicating that data type has sign bit
|
RequiredBits
|
Minimum number of bits required to represent data type
|
FixedExp
|
Fixed-point exponent (specifies binary point)
|
FracSlope
|
Fixed-point fractional slope
|
Bias
|
Fixed-point bias
|
IsFixedPoint
|
Integer (0 or 1 ) flag indicating that data type is fixed-point type
|
}
|
|