Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

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

Asked by Michael on 10 Dec 2012

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

0 Comments

Michael

Products

No products are associated with this question.

2 Answers

Answer by Babak on 12 Dec 2012

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.

0 Comments

Babak
Answer by Jan Simon on 12 Dec 2012

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.

0 Comments

Jan Simon

Contact us