フィルターのクリア

Code with for loop suddenly started to run slow on Matlab R2021a live editor. Why?

2 ビュー (過去 30 日間)
Mustafa Calcuttawala
Mustafa Calcuttawala 2021 年 7 月 28 日
コメント済み: KALASH 2024 年 4 月 4 日
I've been facing an issue with R2021a where my code in live editor has suddenly started to run slow. This happened once before too when I woke my PC up from sleep and a loop that should've taken 150s to run now takes 900s-1000s. Back then, restarting Matlab didn't work but restarting my PC did. Now I ran into the same problem of slow code but even restarting the PC doesn't work this time around. Before I get any questions about pre-allocation - Yes I have all my variables pre-allocated for speed.
Is there anyone else facing the same problem?
  1 件のコメント
KALASH
KALASH 2024 年 4 月 4 日
Please share your code as it is not possible to assume what might be the issue without that!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by