MATLAB: How to clear a particular field in GUI

clear fieldclear tagsguitagsuser interface

I want to clear a particular field in GUI before executing a function. I have tagged the things to be cleared. But i do not know the syntax to clear those tags.

Best Answer

delete(findall(gcf,'Tag','Tagname'))