Memory in a multiple of the unit byte
memory2 is a wrapper for the built-in memory function but displays memory information in a multiple of the unit byte.
Accepted units are: B, kB, MB, GB, KiB, MiB and GiB
Example:
>> user = memory2()
user =
MaxPossibleArrayBytes: 2.5348e+10
MemAvailableAllArrays: 2.5348e+10
MemUsedMATLAB: 897638400
>> user = memory2('gb')
user =
MaxPossibleArrayBytes: 25.3109
MemAvailableAllArrays: 25.3109
MemUsedMATLAB: 0.8894
>> user = memory2('gib')
user =
MaxPossibleArrayBytes: 23.5741
MemAvailableAllArrays: 23.5741
MemUsedMATLAB: 0.8319
Citar como
Jerome Briot (2024). Memory in a multiple of the unit byte (https://www.mathworks.com/matlabcentral/fileexchange/66488-memory-in-a-multiple-of-the-unit-byte), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
memory2/
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |