memoryInfo()

Cross-platform memory usage information
264 téléchargements
Mise à jour 18 fév. 2014

Afficher la licence

Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week

Returns a struct with the information about memory usage in kB. For example:
>> printR(memoryInfo)
struct():
total: 3932392
free: 156216
used: 3776176
cache: 1154900
usedMatlab: 588220
swap: [1x1 struct]
struct().swap:
total: 4095696
free: 3294648
used: 801048
usedMatlab: 7488

Note: MATLAB swap usage calculation on Windows was not implemented. You can get only swapusage for all applications running on the machine.

Citation pour cette source

Sviatoslav Danylenko (2026). memoryInfo() (https://fr.mathworks.com/matlabcentral/fileexchange/45598-memoryinfo), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2008b
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
Version Publié le Notes de version
1.0.0.0