applyfunctoallfolder Applies to a file matfilename = 'D:\results\resul\resultstn-final.mat'; varn is the expression varlist to load as variable, option reqd only if catch error replf is to be excluded from the variable list (plot, plotr,eztools will be removed)...now anything after the last ';' will be taken as this applyfunctoallfolder(matfilename,'plotr(timefuncall,deltall);setlinw(4)','setlinw')