Why Matlab 2017a needs twice more time than 2014a to run the same code?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Fangjun Jiang
2018 年 3 月 16 日
I would suggest you contacting Mathworks' technical support for this. If you could provide your example data, I am sure they will be able to find out why and possibly provide a solution. I had a similar issue where it took much longer in R2015b to finish a script than in R2014b. It turned out that there is some optimization in MATLAB R2015b that inadvertently slows down a particular use case. The tech support found the root cause and the problem was resolved in R2016b.
3 件のコメント
Julien Volle
2019 年 7 月 19 日
No, never. They adised me to switch to the newest version of Matlab. And indeed, I didn't have this problem in the newer version.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!