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 block replacement entry (Since R2024a)

Functions

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

Objects

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

Topics