MEM displays memory usage to the command window.

MEM displays memory usage to the command window.
217 téléchargements
Mise à jour 11 juin 2012

Afficher la licence

MEM displays memory usage to the command window.

As many programmers have experienced, Matlab grinds to a near standstill when large amounts of memory are used in the workspace. MEM gives a succinct report of the memory used, so the programmer can see which variables are using the most memory (and thus causing the slow-down).

This function is only useful for programmers who develop codes containing hundreds of variables, in which case they might not remember the size of each variable off the top of their head. MEM helps the programmer determine how best to streamline the memory usage and improve the speed of his or her code.

Citation pour cette source

Brenden Epps (2024). MEM displays memory usage to the command window. (https://www.mathworks.com/matlabcentral/fileexchange/37074-mem-displays-memory-usage-to-the-command-window), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Performance and Memory dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.1.0.0

updated Description with better explanation of why this code is useful

1.0.0.0