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

48 views (last 30 days)
Khalid Mahmood
Khalid Mahmood on 3 Jan 2022
Commented: Walter Roberson on 6 Jan 2022
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 Comments
Walter Roberson
Walter Roberson on 6 Jan 2022
R2021b should have faster App Designer than earlier releases; they worked hard to make performance improvements.

Sign in to comment.

Answers (1)

Rik
Rik on 6 Jan 2022
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!