How to stop recurring error message if Ctrl+C doesn't work!? (help!!!)

조회 수: 2 (최근 30일)
Michael
Michael 2012년 12월 10일
Hi
I tried to surf plot a discrete Laplacian matrix operator and it has broken MATLAB... I managed to close the figure, but the command line is continuously typing
"> In closereq at 24 Warning: Too many objects created while deleting axes children; removing DelectFcn of all descendants to prevent infinite loop"
It outputs this a few times every second and I can't terminate it! Normallt I'd just shut MATLAB down but I spent 2 days on a simulation and I haven't saved the results yet. Does anyone know a way to make it stop?
Thanks Mike

답변 (2개)

Babak
Babak 2012년 12월 12일
Ctrl+C works when the command window is the "current" or "chosen" window of MATLAB. You need to click on this window before doing ctrl+C.
You can save your data, by doing somehting like
save data.mat
in the middle of the loop where your simulation is running so that the data won't be lost. Your data ofcourse over-writes itself everytime you run
save data.mat
If your simulation is very long, you can do a smarted way of saving the data, by saving it every 5 min under different names for example, but watch not to flush your workspace memory.

Jan
Jan 2012년 12월 12일
When Ctrl-C does not help, it seems like Matlab has reached an infinite loop. When you do not have access to the command line, you have to kill the Matlab session, such that the 2 days of work are lost.
Sorry. It was a bad idea not to save the intermediate data frequently.

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by