はじめに、Identify Code Replacement Library Requirementsを参照してください。コード置換ライブラリを開発するプロセスをよく理解します。ライブラリをコード置換ツールを使用して対話形式で開発するかプログラムで開発します。コード置換ライブラリ開発のクイック スタート - Simulink®を使用してプロセスとツールについて実験します。
コード置換ツール | Create, modify, and validate content of code replacement libraries |
コード置換ビューアー | コード置換ライブラリの内容の調査 |
What Is Code Replacement Customization?
Customize how and when the code generator replaces C/C++ code that it generates for functions and operators.
Code You Can Replace From Simulink Models
Review lists of functions and operators that the code generator can replace depending on the code replacement library.
コード置換ライブラリ開発のクイック スタート - Simulink®
数学関数の置換コードを生成するためのエントリを含むコード置換ライブラリを開発する。
Develop a Code Replacement Library
Workflow for developing a code replacement library.
Data Alignment for Code Replacement
Define code replacement mappings that align data for a replacement function to a specified boundary.
Reserved Identifiers and Code Replacement
C/C++ programming language reserved keywords as identifiers and function names in code replacement entries.
Remap Operator Output to Function Input
Meet specific generated code patterns by remapping operator outputs to input positions in your replacement function argument list.
Customize Match and Replacement Process
Add logic to the code replacement match and replacement process for functions or operators.
Optimize Generate Code by Using Multiple Code Replacement Libraries
Choose multiple code replacement libraries to generate code.
Troubleshoot Code Replacement Library Registration
Troubleshoot the library registration if a code replacement library is not listed as a configuration option or does not appear in the Code Replacement Viewer.
Troubleshoot Code Replacement Misses
Analyze and correct code replacement misses with miss reason messages that appear in the Code Replacement Viewer.