Windows becomes unresponsive when trying to create large variables
Show older comments
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?
Answers (1)
Categories
Find more on Performance and Memory in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!