Using Simulink    

Data Types Supported by Simulink

Simulink supports all built-in MATLAB data types. The term built-in data type refers to data types defined by MATLAB itself as opposed to data types defined by MATLAB users. Unless otherwise specified, the term data type in the Simulink documentation refers to built-in data types. The following table lists MATLAB's built-in data types.

Name
Description
double
Double-precision floating point
single
Single-precision floating point
int8
Signed eight-bit integer
uint8
Unsigned eight-bit integer
int16
Signed 16-bit integer
uint16
Unsigned 16-bit integer
int32
Signed 32-bit integer
uint32
Unsigned 32-bit integer

Besides the built-in types, Simulink defines a boolean (1 or 0) type, instances of which are represented internally by uint8 values.


 Working with Data Types Block Support for Data and Numeric Signal Types