I'm working in matlab GUI and it occupies more memory and cause out-of-memory error. Even if I clear all the variables by clearvars, the memory remains
>> memoryMaximum possible array: 11 MB (1.112e+007 bytes) *Memory available for all arrays: 267 MB (2.799e+008 bytes) **Memory used by MATLAB: 1477 MB (1.548e+009 bytes)Physical Memory (RAM): 2766 MB (2.900e+009 bytes)
Could anyone help me how to flush out the memory used by MATLAB???
Best Answer