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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

vijaya lakshmi
vijaya lakshmi am 22 Mär. 2018
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 Kommentar
Stephen23
Stephen23 am 22 Mär. 2018
Vi Nguyen's "Answer" moved here:
The problem is experienced even immediately after starting matlab, so the suggested solution does not fix the problem.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by