Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

代码替换

使用代码替换库自定义从 MATLAB® 代码生成的代码

使用库针对特定的应用程序或运行时环境优化生成的 C 或 C++ 代码,或者自定义代码以集成所支持运算的现有实现。要快速入门,请参阅What Is Code Replacement?

工具

代码替换查看器Explore 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.