For signals with the same label, the code generator attempts to use the same signal memory.
The code generator uses signal labels as a guide for which buffers to reuse.
The code generator ignores signal labels when implementing buffer reuse.
Requires an Embedded Coder® license.
Appears only for ERT-based targets.
If your model has the optimal parameter settings for removing data copies, you might be able to remove additional data copies by using signal labels. After studying the generated code and the Static Code Metrics Report and identifying blocks for whose input and output signals you would like to reuse, you can add labels to signal lines and enable the Use signal labels to guide buffer reuse parameter. If possible, the code generator implements the reuse specification.
|Efficiency||On (execution, ROM, RAM)|
|Safety precaution||No impact|