MATLAB: Matlab R2016 runs much slower calls to .m files than R2013

calling scripts;matlab r2016bperformanceslower

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

It seems that new Matlab version R2017a has solved this problem, see Performance section: "MATLAB has improved the performance of invoking scripts, especially when invoking a script from another script.".
I have just installed it and tested the code and now the speed between 2013 and 2016 is very similar. I just want to put this on the record in case someone has the same problem.
Thank you all guys for your time.