I have used the UITABLE and UITREE functions to create the corresponding objects in a figure, in MATLAB 7.0 (R14). I am unable to use the DELETE function to delete the objects. If I use DELETE, the objects still appear in the figure window. For example:
h = uitable;delete(h);
The above code does not remove the object from the figure. However, the DELETE function can successfully delete other graphics objects, like uicontrols.
Best Answer