Fixed-Point Code Generation in MATLAB
To generate code, you must have the MATLAB Coder product. For information on code generation, see the MATLAB Coder documentation.
Discusses using Fixed-Point Designer™ software with code generation.
Describes the steps required for preparing MATLAB code and converting it to a MEX function.
Lists the Fixed-Point Designer features supported by code generation from MATLAB.
Introduces you to the MATLAB Coder product.
Sometimes the code generator does not recognize constant structure fields or array elements.
Introduces you to the MATLAB Function block.
Create and generate code for a fixed-point, low-pass, direct form FIR filter.
This example shows how to avoid multiword operations
in generated code by using the
instead of simple addition in your MATLAB algorithm.
Highlight potential data type issues in report.
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.
Describes techniques which can be used to make generated code more efficient.
Data types supported for simulation and code generation.