getmemory
returns free and total system memory
Syntax
[free, total] = getmemory()
Description
getmemory() returns free system memory (kilo-bytes).
[free, total] = getmemory() returns free and total system memory (kilo-bytes).
![]() | Do not rely too much on this function. Due to various level of caching,
free memory detection is a tricky thing under most modern operating
systems. |
Examples
[a,b] = getmemory()
See also
- who — listing of variables
- recursionlimit — get or set the current or maximal allowed depth of nested calls
- host — executes a Windows, Linux, or MacOS command
| Report an issue | ||
| << getdebuginfo | Configuration | getmodules >> |
