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 parameterSignal Storage Reuseenables 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

Application Setting
Debugging No impact
Traceability No impact
Efficiency On
Safety precaution

No recommendation

Related Topics