It is often helpful to have MATLAB print the 1st line of a function, as this usually contains the function signature, including inputs and outputs:
dbtype <functionName> 1
Example:
>> dbtype fit 1
1 function [fitobj,goodness,output,warnstr,errstr,convmsg] = fit(xdatain,ydatain,f...