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?

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

タグ

質問済み:

2015 年 8 月 6 日

回答済み:

2015 年 8 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by