MATLAB Coder

MATLAB®
Coder™ generates C and C++ code from MATLAB code for a variety of hardware platforms, from desktop systems to embedded
hardware. It supports most of the MATLAB language and a wide range of toolboxes. You can integrate the generated code
into your projects as source code, static libraries, or dynamic libraries. The generated
code is readable and portable. You can combine it with key parts of your existing C and C++
code and libraries. You can also package the generated code as a MEX-function for use in
MATLAB.

Check Bug Reports for Issues and Fixes

Software is inherently complex and is not free of errors. The output of a code generator might contain bugs, some of which are not detected by a compiler. MathWorks reports critical known bugs brought to its attention on its Bug Report system at www.mathworks.com/support/bugreports/. In the search bar, type the phrase "Incorrect Code Generation" to obtain a report of known bugs that produce code that might compile and execute, but still produce wrong answers. To save a search, click Save Search.

The bug reports are an integral part of the documentation for each release. Examine periodically all bug reports for a release, as such reports may identify inconsistencies between the actual behavior of a release you are using and the behavior described in this documentation.

In addition to reviewing bug reports, you should implement a verification and validation strategy to identify potential bugs in your design, code, and tools.

This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.