Main Content

Code Replacement

Customize code generated from MATLAB® code using a code replacement library

Use libraries to optimize generated C or C++ code for a specific application or run-time environment, or to customize the code to integrate with existing implementations of supported operations. To get started, see What Is Code Replacement?.

Tools

Code Replacement ViewerExplore content of code replacement libraries

Topics

  • What Is Code Replacement?

    Why and how to replace code. Code replacement libraries that MathWorks provides. Contents of a code replacement library and how the code generator uses the contents. Terminology and limitations.

  • Choose a Code Replacement Library

    Explore available code replacement libraries and library content to find a suitable match for your code requirements.

  • Replace Code Generated from MATLAB Code

    Change the code that the code generator produces for functions and operators to meet application code requirements.