Remove temporary buffers for Data Store Read and Data Store Write blocks. Use the Data Store Memory block directly if possible.
Category: Optimization
Default: On
Embedded Coder® reads directly from the Data Store Memory block and writes directly to the Data Store Memory block, if possible. Using the Data Store Memory block directly eliminates data copies in the generated code, conserving RAM consumption and increasing code execution speed.
Embedded Coder inserts buffers in the generated code for Data Store Read and Data Store Write blocks.
The parameter Signal Storage Reuse enables this parameter.
This parameter requires an Embedded Coder license.
This parameter appears only for ERT-based targets.
Parameter:
OptimizeDataStoreBuffers |
Value:
'on' | 'off'
|
Default:
'on' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | Off |
Efficiency | On |
Safety precaution | No recommendation |