|MATLAB Function Reference|
Help for memory limitations
memory error message is encountered, there is no more room in memory for new variables. You must free up some space before you may proceed. One way to free up space is to use the
clear function to remove some of the variables residing in memory. Another is to issue the
pack command to compress data in memory. This opens up larger contiguous blocks of memory for you to use.
Here are some additional system specific tips:
Windows: Increase virtual memory by using System in the Control Panel.
UNIX: Ask your system manager to increase your swap space.
The Technical Support Guide to Memory Management at http://www.mathworks.com/support/tech-notes/1100/1106.shtml.