Contenuto principale

Sostituzione del codice

Personalizzare il codice generato da un modello utilizzando una libreria di sostituzione del codice

Utilizzare le librerie per ottimizzare il codice C o C++ generato per un'applicazione o un ambiente di runtime specifici oppure per personalizzare il codice al fine di integrarlo con le implementazioni esistenti delle operazioni supportate. Per iniziare, vedere What Is Code Replacement?.

Strumenti

Code Replacement ViewerExplore content of code replacement libraries

Argomenti

  • 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 Simulink Models

    This example shows how to replace generated code by using a code replacement library.

  • Analyze Code Replacements in Generated Code

    The Code Replacements Report section in the code generation report documents the code replacement library (CRL) functions that were used for code replacements during code generation.