Main Content

Reduce Memory Usage

Identify memory usage and apply techniques to use memory more efficiently

MATLAB® handles data storage for you automatically. However, if memory is an issue, there are several techniques you can apply to reduce requirements.

Functions

expand all

memoryMemory information
inmemNames of functions, MEX files, and classes in memory
memoizeAdd memoization semantics to function handle
MemoizedFunctionCall memoized function and cache results
clearAllMemoizedCachesClear caches for all MemoizedFunction objects

Topics

Related Information