Memory used by the current session
MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
bytes() returns the current memory consumption.
bytes returns the following three numbers:
The number of bytes used logically; this is the amount of memory which is actually used for storing MuPAD® data.
The number of bytes physically allocated by the memory management; this is the amount of memory MuPAD has allocated from the operating system. The difference between the physical and the logical bytes is the amount of memory which has already been reserved for future calculations.
The maximum number of bytes ever allocated from the
operating system during the current session. This value never decreases,
not even on a call to
In a freshly started MuPAD session,
return the following data on the memory consumption of the session:
Each computation increases the memory usage:
solve(x-1=0, x): bytes()
Sequence of three integers.