I am completely new to Matlab R2016b (previous version R2013a) and the same code runs around 10 times slower (profile checked) in the new version. The code has several calls to .m files (not functions, just scripts) and all signs that calls are the problem. If I run the complete code, without calls, there are minimal differences between them; although surprisingly 2016 is still slower (1.5 times)…frustrating.
Maybe several calls to a .m file is not the most efficient manner, but it allows me to keep the code and different versions organized…anyway, why Matlab2016b is slower?
Thanks in advance!
Best Answer