varargout = clearcdhistory(varargin) if nargin == 0,deletes the history file otherwise, it gives the history list if varargout, it gives the history list as variable, otherwise display as got link in command window