Matlab workspace

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일

0 개 추천

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일

0 개 추천

The answer can be difficult to define one takes in to account the fact that MATLAB shares arrays.

카테고리

도움말 센터File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

질문:

2011년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by