experiencing long delays in executing any command that produces some sort of output to the command line or a figure.

1 回表示 (過去 30 日間)
I am experiencing long delays in executing any command that produces some sort of output to the command line or a figure. For example, running
tic; pause(1); toc
gives
Elapsed time is 1.001567 seconds.
but the actual wall time is more like 10 seconds. Similar issues are observed when making figures. For example;
x =1:10; tic; figure; plot(x,x); toc
gives
Elapses time is 0.111163 seconds
but again the actual wall clock time is around 10 seconds.

採用された回答

vijaya lakshmi
vijaya lakshmi 2018 年 3 月 22 日
Hi Vi Nguyen,
This occurs if you have loaded many variables or large values in your workspace.The workspace is updating and the operation is waiting for the workspace to update before executing.
To work around this issue, close the workspace and restart MATLAB. This will cause MATLAB to open without the workspace.
  1 件のコメント
Stephen23
Stephen23 2018 年 3 月 22 日
Vi Nguyen's "Answer" moved here:
The problem is experienced even immediately after starting matlab, so the suggested solution does not fix the problem.

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

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by