Main Content

Block Replacement

Define code replacement mappings for Simulink® blocks

Replace the code generated from specific Simulink blocks with custom implementation code. For computationally intensive blocks, you can replace default generated code with custom implementations such as library functions that are optimized for your target hardware.

Classes

RTW.TflBlockEntryCreate code replacement table entry for a block (Since R2024a)

Functions

RTW.BlockPropertyCreate a block property specification for a block replacement entry (Since R2024a)

Objects

RTW.CImplementationSpecify an implementation function for a block replacement entry (Since R2024a)

Topics