Main Content

Data Copy Reduction

Adjust model parameters to improve code execution speed and reduce memory usage

Reduce RAM and ROM consumption and increase code execution speed by eliminating data copies in the generated code. The code generator eliminates some data copies. You can eliminate other data copies by adjusting certain model parameter settings, specifying the same name for the input and output arguments of MATLAB Function blocks, and by using Simulink signals to specify reuse.

Topics

Data Copy Reduction by Default

Data Copy Reduction by Specification