Memory Utilization of a program in matlab.
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sir,
Elasped Time is calcuated by using tic toc function.
How should calcuate run time memory utilization of a program.
Any function is available.
thanks
0 Commenti
Risposte (2)
Jason Ross
il 18 Ott 2012
Try "memory"?
It would help if you listed your platform and MATLAB version, as this only works on Windows.
You can also use OS functions to get the memory size, too -- on Windows you can use
tasklist /FI "IMAGENAME eq matlab.exe"
and on Linux/Mac you can use "ps", grep, awk, etc. You could call these from a system call and parse the output.
0 Commenti
Derek O'Connor
il 18 Ott 2012
A few years ago I suggested to Mathworks that they include memory usage in their Profiler. They said they were thinking about it.
Are they still thinking?
0 Commenti
Vedere anche
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!