calcrectarea subfunction:
function call: area = calcrectarea(len,wid);
function header: function area = calcrectarea(len, wid)
In the function call, the two arguments are passed into parentheses therefore there are two input arguments in the function header. The function returns an output argument and hence that is stored in one variable.