Main Content

Performance

R2026b
Reduce code generation time, improve execution speed, reduce memory usage of generated code

The subject of performance includes the execution speed of the generated code, and its memory usage. Tuning your MATLAB® code and code generation settings for best performance depends on your goals and applications. For more information about how to optimize your code for specific conditions, see Optimize Generated C/C++ and MEX Code.

Categories

  • Execution Speed
    Improve execution speed of generated C/C++ code
  • Memory Usage
    Reduce RAM, ROM, and stack space used by generated C/C++ code