Main Content

Fixed-Point Code Generation in MATLAB

Fixed-point C-code generation usingMATLAB®Coder™

To generate code, you must have theMATLAB Coderproduct. For information on code generation, see theMATLAB Coderdocumentation.

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.