Why has visdiff slowed on the order of magnitudes in MATLABR2022 compared to older versions, and is there a way to speed it up?

2 次查看(过去 30 天)
Previously, i've used visdiff for text files in MATLAB 2017a and will get a comparison within seconds. Now running in MATLAB 2022a it takes minutes to get a result. Is there a reason for this slow down, and is there anyway to speed it up?
  2 个评论
Dean DeBastiani
Dean DeBastiani 2023-5-15
Hey Amit,
I cannot provide the actual files. I can provide size representative files. I will note, the same files are compared in 2017a and 2022a, and the files seem to be irrelevant to the problem. Any large text file should bring the issue to light.

请先登录,再进行评论。

回答(1 个)

Animesh
Animesh 2023-10-3
The slowdown you are experiencing with the visdiff function in MATLAB 2022a compared to MATLAB 2017a could be due to several reasons. Here are a few possible explanations:
  • Increased file size: If the text files you are comparing have grown significantly, it can lead to longer processing times.
  • External factors: Consider whether any other software or processes running on your computer could be affecting MATLAB's performance.
For more information related to visdiff - https://www.mathworks.com/help/matlab/ref/visdiff.html

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by