MATLAB: I’ve downloaded the 2015a version and see that this version is slower than the 2014 version by a factor of 3. I’m running scripts designed with 2014 version. “Stop on Errors” is off. Why is the 2015 so slow

execution-time

General question.

Best Answer

If I recall correctly, a couple of week ago someone posted about graphics operations being slower from R2014b onward. It turned out that they had some large data structures being passed around in the handles structure, and that with the change to graphics being object-oriented the data was being copied around more often. When they moved the large structures out of handles and used setappdata() and getappdata() specifically in the routines that needed the structures, they improved their performance a fair bit.
Related Question