フィルターのクリア

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 ビュー (過去 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 件のコメント
Amit Dhakite
Amit Dhakite 2023 年 5 月 11 日
編集済み: Amit Dhakite 2023 年 5 月 15 日
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 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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by