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 comentario

Jan
Jan el 24 de Abr. de 2012
Using the tag "matlab" is meaningless in this forum: *All* question have to concern Matlab...

Iniciar sesión para comentar.

Respuestas (2)

Jan
Jan el 24 de Abr. de 2012

0 votos

1 comentario

Unnikrishnan PC
Unnikrishnan PC el 24 de Abr. de 2012
Dear Jan Simon,
My code clears the workspace. So I cant use whos. Is there any other way? Thanks for the fast reply.

Iniciar sesión para comentar.

Arthur
Arthur el 24 de Abr. de 2012

0 votos

You can use the profiler with memory stats.

1 comentario

Kaustubha Govind
Kaustubha Govind el 24 de Abr. de 2012
Or the memory function if you're on Windows: http://www.mathworks.com/help/techdoc/ref/memory.html

Iniciar sesión para comentar.

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Abr. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by