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 CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by