Every program in newer versions of Matlab runs slower, Why?

조회 수: 53(최근 30일)
Every program in newer versions of Matlab runs slower and slower. I have measured with external stop watches also. And it does drop frame rate in vision processing which is very obvious from human observation too.
Bench (Same matlab, different computers) produces same results butactual program runs slower measured with external stop watches.
Bench (different Matlab vesrions, same PC) produces rsults which match external stop watches.
Also newer figure Uifigure and widgets are too slow.
I have swicth to old matlab for faster execution.
Why is it happening?
  댓글 수: 3
Walter Roberson
Walter Roberson 2022년 1월 6일
R2021b should have faster App Designer than earlier releases; they worked hard to make performance improvements.

댓글을 달려면 로그인하십시오.

답변(1개)

Rik
Rik 2022년 1월 6일
Some things get slower, some things get faster. It really matters what exact functions you're calling.
If I write a function where time might be an important factor, I tend to write my own performance tester. Feel free to have a look at one of my functions: ComputeNonCryptHash. If you look at the performance section (the HTML doc is the 'examples' tab), you can compare the relative speed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by