Main Content
Numeric Types
Numeric type data and variables for code generation
MATLAB®
Coder™ supports code generation for signed integers, unsigned integers,
single-precision floating-point numbers and double-precision floating-point numbers.
Generate code for MATLAB data types such as complex data, half
floating-point types, and sparse matrices.
Topics
- Code Generation for Complex Data
Use complex data in MATLAB code intended for code generation.
- Code Generation for Sparse Matrices
Use sparse matrices in MATLAB code intended for code generation.
- Half Precision Code Generation Support
C/C++ and GPU code generation support for functions that support half-precision inputs.