Memory Usage

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 日

0 投票

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 日

0 投票

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

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

カテゴリ

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

質問済み:

2012 年 4 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by