Main Content

Reuse global block outputs

Description

Reuse global memory for block outputs.

Category: Optimization

Settings

Default: On

On
  • Software reuses signal memory whenever possible, reducing global variable use.

  • Selecting this parameter trades code traceability for code efficiency.

Off

Signals are stored in unique locations.

Dependencies

This parameter:

  • Is enabled by Signal storage reuse .

  • Requires an Embedded Coder® license.

  • Appears only for ERT-based targets.

Command-Line Information

Parameter: GlobalBufferReuse
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingOff
TraceabilityOff
EfficiencyOn (execution, ROM, RAM)
Safety precautionNo impact

Related Topics