HELP "OUT OF MEMORY"
2 次查看(过去 30 天)
显示 更早的评论
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
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?
采纳的回答
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!