Windows becomes unresponsive when trying to create large variables

When I was trying to make matlab deal with a large matrix, my whole system became unresponsive. I understand it's the memory issue, because the code worked fine when I was testing using smaller matrix. Now my question is, is there any way to make matlab give 'out of memory' error instead of freezing everyting? Or stop the code when used memory exceeds certain value?

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 6 de Ag. de 2015

Respondida:

el 6 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by