Main Content

最新のリリースでは、このページがまだ翻訳されていません。 このページの最新版は英語でご覧になれます。

関数の置換

関数のコード置換マッピングの定義

コード置換ツールまたはプログラミング インターフェイスを使用して、数学関数、メモリ関数またはカスタム関数のコード置換マッピングを定義します。コードのマッチングと置換プロセスをカスタマイズします。

ツール

コード置換ツールCreate, modify, and validate content of code replacement libraries
コード置換ビューアーコード置換ライブラリの内容の調査

関数

すべて展開する

addEntryAdd table entry to collection of table entries registered in code replacement table
createCRLEntryCreate code replacement table entry from conceptual and implementation argument string specifications
registerCFunctionEntryCreate function entry based on specified parameters and register in code replacement table
registerCPPFunctionEntryCreate C++ function entry based on specified parameters and register in code replacement table
registerCPromotableMacroEntryCreate promotable code replacement macro entry based on specified parameters and register in code replacement table (for abs function replacement only)
RTW.TflCFunctionEntryCreate code replacement table entry for a function
RTW.TflCFunctionEntryMLBase class for custom code replacement table function entry
RTW.TflCSemaphoreEntryCreate code replacement table entry for a semaphore or mutex
RTW.TflTableCreate code replacement table
setTflCFunctionEntryParametersSet specified parameters for function entry in code replacement table
setTflCSemaphoreEntryParametersSet specified parameters for semaphore entry in code replacement table
addConceptualArgAdd conceptual argument to array of conceptual arguments for code replacement table entry
addDWorkArgAdd DWork argument for semaphore entry in code replacement table
copyConceptualArgsToImplementationCopy conceptual argument specifications to implementation specifications of an entry for code replacement table entry
createAndAddImplementationArgCreate implementation argument from specified properties and add to implementation arguments for code replacement table entry
createAndSetCImplementationReturnCreate implementation return argument from specified properties and add to implementation for code replacement table entry
createCRLEntryCreate code replacement table entry from conceptual and implementation argument string specifications
createAndAddConceptualArgCreate conceptual argument from specified properties and add to conceptual arguments for code replacement table entry
getTflArgFromStringCreate code replacement argument based on specified name and built-in data type
getTflDWorkFromStringCreate code replacement DWork argument for semaphore entry based on specified name and data type
addAdditionalHeaderFileAdd header file to array of header files for code replacement table entry
addAdditionalIncludePathAdd include path to array of include paths for code replacement table entry
addAdditionalLinkObjAdd link object to array of link objects for code replacement table entry
addAdditionalLinkObjPathAdd link object path to array of link object paths for code replacement table entry
addAdditionalSourceFileAdd source file to array of source files for code replacement table entry
addAdditionalSourcePathAdd source path to array of source paths for code replacement table entry
enableCPPEnable C++ support for function entry in code replacement table
setNameSpaceSet namespace for C++ function entry in code replacement table
setReservedIdentifiersRegister reserved identifiers to associate with code replacement library
coder.ceval外部 C/C++ 関数の呼び出し
coder.replaceReplace current MATLAB function implementation with code replacement library function in generated code

トピック

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.

Specify In-Place Code Replacement

In a code replacement, use a single buffer to store function input and output data.

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.

関連情報