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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Jan
Jan am 24 Apr. 2012

0 Stimmen

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Arthur
Arthur am 24 Apr. 2012

0 Stimmen

You can use the profiler with memory stats.

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Apr. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by