Why Matlab 2017a needs twice more time than 2014a to run the same code?
Show older comments
Dear all,
I have a code, which in 2014a took 16 hours to run. There is a lot of parfor loops, which works smoothly. The same code, with identical data needed 30 hours to run.
Could anyone please explain me why? What can I do, to work it faster? I heard, that 2017 versions are supposed to be faster... So, what's wrong?
Thank you in advance for any clues.
4 Comments
Jan
on 16 Mar 2018
Could anyone please explain me why?
The obvious explanation is that your code is processed slower in R2017b. A more detailed answer requires, that you post any details about the code. Use the profiler to find the bottleneck and and the part, which causes the slowdown. Otherwise it is impossible to guess, what's going on.
A. Wozniak
on 16 Mar 2018
A. Wozniak
on 19 Mar 2018
A. Wozniak
on 19 Mar 2018
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
