REMOVECOMMENT Removes comments from m file removecomment(infilen,outfilen,keephelpportionOnly) infilen = 'rundlg'; outfilen = 'mccrax'; if nargin < 3, keephelpportionOnly = 0; keephelpportionOnly > 0, will keep only the part, called by HELP Function removecomment('mccrdepend','outfilen',1) Rezaul, 2004