Memory Usage

2 visualizzazioni (ultimi 30 giorni)
Unnikrishnan PC
Unnikrishnan PC il 24 Apr 2012
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 Commento
Jan
Jan il 24 Apr 2012
Using the tag "matlab" is meaningless in this forum: *All* question have to concern Matlab...

Accedi per commentare.

Risposte (2)

Jan
Jan il 24 Apr 2012
  1 Commento
Unnikrishnan PC
Unnikrishnan PC il 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.

Accedi per commentare.


Arthur
Arthur il 24 Apr 2012
You can use the profiler with memory stats.
  1 Commento
Kaustubha Govind
Kaustubha Govind il 24 Apr 2012
Or the memory function if you're on Windows: http://www.mathworks.com/help/techdoc/ref/memory.html

Accedi per commentare.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by