Memory Usage

Analyze and improve memory usage

Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

bytesMemory used by the current session
forgetClear the remember table of a procedure
historyAccess an entry of the history table
Pref::maxMemSet a memory limit for the session
Pref::reportInformations during evaluation
prog::rememberExtended remember mechanism for procedures

MuPAD Environment Variables

HISTORYMaximal number of elements in the history table

Topics

Display Memory Usage

The amount of memory available on your computer can greatly affect your symbolic computations.

Remember Mechanism

If your code calls a procedure with the same arguments more than once, avoid unnecessary reevaluations, and thus, improve performance.

History Mechanism

MuPAD implements the internal history mechanism.