Matlab workspace

28 ビュー (過去 30 日間)
Raviteja
Raviteja 2011 年 11 月 10 日
How can I know, the total variables size stored in matlab? I mean, total memory taken by workspace?

回答 (2 件)

Fangjun Jiang
Fangjun Jiang 2011 年 11 月 10 日
feature('memstats')
And a useful link: Memory Management Guide
If you just want to count the bytes used by the memory:
a=whos;
sum([a.bytes]);
  2 件のコメント
Raviteja
Raviteja 2011 年 11 月 10 日
I need only workspace memory...
There are 4 types of memory showing in the list
Physical Memory (RAM):
Page File (Swap space)
Virtual Memory (Address Space)
Largest Contiguous Free Blocks
In which What is exactly related to workspace memory?
Fangjun Jiang
Fangjun Jiang 2011 年 11 月 10 日
see updates.

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


Walter Roberson
Walter Roberson 2011 年 11 月 10 日
The answer can be difficult to define one takes in to account the fact that MATLAB shares arrays.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by