If you pipe the following line into docmatlab function [out1,out2,...] = function_name(input1,input2,...) then it will output the following comment skeleton (with the correct date): %FUNCTION_NAME % % [out1,out2,...] = function_name(input1,input2,...) % % Inputs: % input1 ?x? % input2 ?x? % ... ?x? % % Outputs: % out1 ?x? % out2 ?x? % ... ?x? % Iain Murray, January 2009