Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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 Kommentare
Amit Dhakite
Amit Dhakite am 11 Mai 2023
Bearbeitet: Amit Dhakite am 15 Mai 2023
Hi Dean,
Could you please provide the files you are comparing, so that I could reproduce the issue at my end?
Dean DeBastiani
Dean DeBastiani am 15 Mai 2023
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Animesh
Animesh am 3 Okt. 2023
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

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by