Main Content

Product Overview

When to Use MATLAB Coder

Use MATLAB® Coder™ to:

  • Generate readable, efficient, standalone C/C++ code from MATLAB code.

  • Generate MEX functions from MATLAB code to:

    • Accelerate your MATLAB algorithms.

    • Verify generated C code within MATLAB.

  • Integrate custom C/C++ code into MATLAB.

Code Generation for Embedded Software Applications

The Embedded Coder® product extends the MATLAB Coder product with features that are important for embedded software development. Using the Embedded Coder add-on product, you can generate code that has the clarity and efficiency of professional handwritten code. For example, you can:

  • Generate code that is compact and fast, which is essential for real-time simulators, on-target rapid prototyping boards, microprocessors used in mass production, and embedded systems.

  • Customize the appearance of the generated code.

  • Optimize the generated code for a specific target environment.

  • Enable tracing options that help you to verify the generated code.

  • Generate reusable, reentrant code.

Code Generation for Fixed-Point Algorithms

Using the Fixed-Point Designer™ product, you can generate:

  • MEX functions to accelerate fixed-point algorithms.

  • Fixed-point code that provides a bit-wise match to MEX function results.