| Contents | Index |
There are several ways to use Fixed-Point Toolbox software to generate code:
The Fixed-Point Toolbox fiaccel function converts your fixed-point MATLAB code to a MEX function and can greatly accelerate the execution speed of your fixed-point algorithms.
The MATLAB Coder codegen function automatically converts MATLAB code to C/C++ code. Using the MATLAB Coder software allows you to accelerate your MATLAB code that uses Fixed-Point Toolbox software. To use the codegen function with Fixed-Point Toolbox software, you also need to have a MATLAB Coder license. For more information, see Generating C Code from MATLAB Code at the Command Line in the MATLAB Coder documentation.
The MATLAB Function block allows you to use MATLAB code in your Simulink models that generate embeddable C/C++ code. To use the MATLAB Function block with Fixed-Point Toolbox software, you also need a Simulink license. For more information on the MATLAB Function block, see Using the MATLAB Function Block in the Simulink documentation.
For more information on generating code with Fixed-Point Toolbox software, see Code Acceleration and Code Generation from MATLAB for Fixed-Point Algorithms.
![]() | Using fi Objects with DSP System Toolbox |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |