Main Content
Supported Variable Types
You can use the following data types for C/C++ code generation from MATLAB®:
Type | Description |
---|---|
Character array | |
Complex data. Cast function takes real and imaginary components | |
Double-precision floating point | |
Signed integer | |
Boolean | |
Single-precision floating point | |
Structure | |
Unsigned integer | |
Fixed-point | Fixed-point data types |