MEM displays memory usage to the command window.

版本 1.1.0.0 (1.4 KB) 作者: Brenden Epps
MEM displays memory usage to the command window.
217.0 次下载
更新时间 2012/6/11

查看许可证

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.

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Performance and Memory 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

updated Description with better explanation of why this code is useful

1.0.0.0