This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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?.


Code Replacement ViewerExplore content of code replacement libraries


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.