I need to debug a piece of code and couldn't understand what the string in 'DeleteFcn' evaluate to. Also, what would the be the output of DeleteFcn attribute here
if true c = text('Parent',b, ... 'DeleteFcn','eval(''delete(get(gcbo,''''userdata''''))'','''')', ... 'HandleVisibility','off', ... 'Tag','ColorbarDeleteProxy', ... 'UserData',66.0018, ... 'Visible','off');end
Best Answer