このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
関数の置換
コード置換ツールまたはプログラミング インターフェイスを使用して、数学、メモリ、非有限、セマフォ、ミューテックス、ルックアップ テーブルまたは独自のカスタム関数のコード置換マッピングを定義します。データ配置を制御します。コードのマッチングと置換プロセスをカスタマイズします。
ツール
コード置換ツール | コード置換ライブラリの内容の作成、変更、および検証 |
コード置換ビューアー | コード置換ライブラリの内容の調査 |
関数
トピック
- Math Function Code Replacement
Develop a code replacement library to replace math functions.
- Memory Function Code Replacement
Define a code replacement mapping for a memory function.
- 非有限関数のコード置換
非有限ユーティリティ関数のコード置換マッピングを定義する。
- Algorithm-Based Code Replacement
Define a code replacement mapping based on the computation or approximation algorithm configured for a math function block.
- Lookup Table Function Code Replacement
Define a code replacement mapping for a lookup table function.
- Replace MATLAB Functions with Custom Code by Using the coder.replace Function
Replace a MATLAB function with a function in generated C or C++ code by using the
coder.replace
function. - Replace coder.ceval Calls to External Functions
Replace a function that you specify in a call to the
coder.ceval
function. - Buffer Index Calculation Code Replacement
Develop a code replacement library to replace circular buffer index calculations.
- Custom Function Code Replacement
Define a code replacement mapping for a custom C function.
- Compare Rounding and Overflow Modes in C/C++ Code and Simulink
Determine the rounding mode used in a division function for code replacement.