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 commentaire

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

Connectez-vous pour commenter.

Réponses (2)

Jan
Jan le 24 Avr 2012

0 votes

1 commentaire

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

Connectez-vous pour commenter.

Arthur
Arthur le 24 Avr 2012

0 votes

You can use the profiler with memory stats.

1 commentaire

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

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by