MATLAB Compiler    

Chapter 6
Optimizing Performance


The MATLAB Compiler can perform several different optimizations on your M-file source code that can make the performance of the generated C/C++ code much faster than the performance of the M-code in the MATLAB interpreter.

Compiler 2.1 provides a series of optimizations that can help speed up your compiled code. The optimizations improve performance when:

The only times you would choose not to optimize are if you are debugging your code or you want to maintain the readability of your code.


 Main Routine Written in M-Code Optimization Bundles