Main Content

Buffer for reusable subsystems

Buffers to enhance reuse of subsystems

Model Configuration Pane: Code Generation / Optimization

Description

The Buffer for reusable subsystems parameter specifies whether to insert hidden Signal Conversion blocks at the subsystem interface to enhance the possibilities of subsystem reuse.

Settings

on (default) | off
On

The code generator inserts hidden Signal Conversion blocks at the subsystem interface which enhances the reuse of subsystems in the generated code. This optimization improves ROM efficiency.

Off

The code generator does not insert hidden Signal Conversion blocks at the subsystem interface that could have potentially increased the reuse of subsystems in the generated code. The absence of hidden Signal Conversion blocks might reduce data copies in the generated code, which improves code execution speed.

Recommended Settings

ApplicationSetting
DebuggingNo Impact
TraceabilityNo Impact
EfficiencyOff (Execution Speed), On (ROM)
Safety precautionNo Impact

Programmatic Use

Parameter: BufferReusableBoundary
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2006a