Memory Usage

2 次查看(过去 30 天)
Unnikrishnan PC
Unnikrishnan PC 2012-4-24
How can I find the memory used by various variables and arrays in my matlab program. I am using MATLAB R2009b. MTIC and MTOC not supported by this version.
  1 个评论
Jan
Jan 2012-4-24
Using the tag "matlab" is meaningless in this forum: *All* question have to concern Matlab...

请先登录,再进行评论。

回答(2 个)

Jan
Jan 2012-4-24
  1 个评论
Unnikrishnan PC
Unnikrishnan PC 2012-4-24
Dear Jan Simon,
My code clears the workspace. So I cant use whos. Is there any other way? Thanks for the fast reply.

请先登录,再进行评论。


Arthur
Arthur 2012-4-24
You can use the profiler with memory stats.
  1 个评论
Kaustubha Govind
Kaustubha Govind 2012-4-24
Or the memory function if you're on Windows: http://www.mathworks.com/help/techdoc/ref/memory.html

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by