This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Ways to Generate Code

There are several ways to use Fixed-Point Designer™ software to generate code:

  • The Fixed-Point Designer 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 Designer software. To use the codegen function with Fixed-Point Designer software, you also need to have a MATLAB Coder license. For more information, see C Code Generation at the Command Line (MATLAB Coder) 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 Designer software, you also need a Simulink license. For more information on the MATLAB Function block, see the Simulink documentation.

Was this topic helpful?