I wrote this m-file
function adhamm = adhamm(a,b)
adhamm = a+b
end
and when I try to run it via MATLAB's command line by writing
a = 2;
b = 3;
adhamm(a,b);
I get this error
Undefined function 'adhamm' for input arguments of type 'double'.
Why is this?