Main Content

Fixed-Point Code Generation in MATLAB

Fixed-point C-code generation using MATLAB® Coder™

To generate code, you must have the MATLAB Coder product. For information on code generation, see the MATLAB Coder documentation.

Topics

Troubleshooting

Fix Run-Time Stack Overflows

If your C compiler reports a run-time stack overflow, set the value of the maximum stack usage parameter to be less than the available stack size.

Tips for Making Generated Code More Efficient

Describes techniques which can be used to make generated code more efficient.

Supported Data Types

Data types supported for simulation and code generation.