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 generate code that has buffers to enhance the reuse of subsystems.

Settings

on (default) | off
On

Generates code that has extra buffers that enable the reuse of subsystems in the generated code which enhances ROM efficiency.

Off

Generates code that does not have extra buffers that could have potentially increased the reuse of a subsystem in the generated code. This code generation reduces ROM efficiency. The absence of the extra buffers might avoid extra 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