Code Replacement Customization - MATLAB & Simulink (original) (raw)
Create and maintain code replacement libraries
Customize how and when the code generator replaces C/C++ code that it generates for functions and operators by developing a custom code replacement library. You can develop libraries interactively with the Code Replacement Tool or programmatically.
- Develop libraries tailored to specific application requirements.
- Add identifiers to the list of reserved keywords that the code generator considers during code replacement.
- Customize the code generatorās matching and replacement process for functions.
These topics help get you started:
- What Is Code Replacement Customization?
- Code You Can Replace From Simulink Models
- Quick Start Code Replacement Library Development - Simulink
Categories
- Library Development
Develop code replacement library - Function Replacement
Define code replacement mappings for functions - Operator Replacement
Define code replacement mappings for operators - Fixed-Point Operator Replacement
Define code replacement mappings for fixed-point operations - Block Replacement
Define code replacement mappings for SimulinkĀ® blocks