Using Simulink | ![]() ![]() |
Data Types Supported by Simulink
Simulink supports all built-in MATLAB data types except int64
and uint64
. 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 the built-in MATLAB data types supported by Simulink.
Besides the built-in types, Simulink defines a boolean
(1 or 0) type, instances of which are represented internally by uint8
values. Simulink also supports fixed-point data types.
Fixed-Point Data
Simulink allows you to create models that use fixed-point numbers to represent signals and parameter values. The use of fixed-point data in a model can significantly reduce the size and increase the speed of code generated from the model. See the documentation for the Fixed-Point Blockset for more information on creating and running fixed-point models.
![]() | Working with Data Types | Block Support for Data and Numeric Signal Types | ![]() |