In general you should expect some minor slowdown between versions for the same code on the same machine with a new version of MATLAB. This is because of added features, maybe some error checking, who knows. However, 26 minutes is a huge slowdown that would be unexpected.. I would also suggest you utilize the MATLAB Profiler to determine where the slowdown occurs.
To speed this up from there you can use PARFOR. See examples below:
Best Answer