Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Managing GUI memory usage

Asked by Jared on 25 Jan 2013

When using GUIDE to develop a GUI, in the simulation mode, I run through the functionality loading files, plotting, resetting (which I have clearing and reallocating the data array-which are fairly large files). However, when I use the memory command in the matlab command window, the available memory continues to decrease. It never increases back to what it was when I first opened matlab, even after using the clear all command in matlab. What is using the memory?

0 Comments

Jared

Tags

Products

No products are associated with this question.

1 Answer

Answer by Jan Simon on 25 Jan 2013
Accepted answer

The memory is freed on demand. Use pack to force a clearing of the memory.

0 Comments

Jan Simon

Contact us