You might perhaps be surprised at the effect that this has on uicontrol objects: for example, the content of all pop-up menus will disappear. As far as MATLAB is concerned, pop-up menus and listbox contents and pushbutton labelsare "values", so they would be affected when you "clear all value in program". You could be more selective in what is cleared, but then it would not beall values.
Best Answer