フィルターのクリア

HELP "OUT OF MEMORY"

2 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2014 年 4 月 28 日
コメント済み: Matt J 2014 年 5 月 21 日
i execute a program in matlab... and it runs fine.... when i execute it for the second time it says
"OUT OF MEMORY"
i typed
"clear all"
and executed it still it says "out of memory"... but if i close matlab and execute it refreshly it will execute... what should i do to rectify this error
  2 件のコメント
Oliver Woodford
Oliver Woodford 2014 年 4 月 28 日
Please provide more details about the program. Is it written in pure MATLAB or does it call external code such as a C library or a mex file?
Elysi Cochin
Elysi Cochin 2014 年 4 月 28 日
編集済み: Elysi Cochin 2014 年 4 月 28 日
sorry, yes it calls MEX files.....

サインインしてコメントする。

採用された回答

Matt J
Matt J 2014 年 4 月 28 日
Also, try "clear classes". It is more verbose than "clear all", so you might get more informative messages, particularly if you have memory allocated by graphics objects.

その他の回答 (1 件)

Matt J
Matt J 2014 年 4 月 28 日
編集済み: Matt J 2014 年 4 月 28 日
It's a known problem unfortunately. See, for example,
Try not to allocate so much memory. Newer versions of MATLAB might also handle the problem better.
  2 件のコメント
Elysi Cochin
Elysi Cochin 2014 年 5 月 21 日
sir i used clear classes, it worked for the first time... but now its not working, its showing...
??? Out of memory. Type HELP MEMORY for your options.
what should i do sir....
Matt J
Matt J 2014 年 5 月 21 日
What messages does "clear classes" return?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by