MATLAB: How to clear the variables used in GUI?

clear gui

To clear the workspace variables we use clear all, how to clear the variables in GUI? I need this since I have 'out of memory' error.

Best Answer

clearvars v1 v2 v3
Related Question