Main Content

Perform in-place updates for Assignment and Bus Assignment blocks

Description

Reuse the input and output variables of Bus Assignment and Assignment blocks if possible.

Category: Optimization

Settings

Default: On

On

Embedded Coder® reuses the input and output variables of Bus Assignment and Assignment blocks if possible. Reusing these variables reduces data copies, conserves RAM consumption and increases code execution speed.

Off

Embedded Coder does not reuse the input and output variables of Bus Assignment and Assignment blocks.

Dependency

reusable subsystems

  • The parameter Signal Storage Reuse enables this parameter.

  • This parameter requires an Embedded Coder license.

  • This parameter appears only for ERT-based targets.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyOn
Safety precaution

No recommendation

Related Topics