Matlab workspace

How can I know, the total variables size stored in matlab? I mean, total memory taken by workspace?

Respuestas (2)

Fangjun Jiang
Fangjun Jiang el 10 de Nov. de 2011

0 votos

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 comentarios

Raviteja
Raviteja el 10 de Nov. de 2011
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 el 10 de Nov. de 2011
see updates.

Iniciar sesión para comentar.

Walter Roberson
Walter Roberson el 10 de Nov. de 2011

0 votos

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

Categorías

Etiquetas

Preguntada:

el 10 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by