MATLAB: Does the code run slower in MATLAB 6.5 (R13) than it did in previous versions

6.5acceleratorcodecompiledjitMATLABr13runslowslower

Why does my code run slower in MATLAB 6.5 (R13) than it did in previous versions?
I am testing the same set of code in multiple versions of MATLAB, and it is slower in MATLAB 6.5 (R13) than in previous versions.

Best Answer

Please see the solution attached to the bottom of this page for information on how to maximize the speed of your code.
If, after trying the suggestions in the solution above, you are still experiencing unexpected slow performance with your code, please send a self-contained example to support@mathworks.com so that we may further investigate.