this is a built-in function (like mean, max, sum, etc), not a funtion programmed as a .m file. What you see when you type.
is just there to display the help text
If it's giving you problems, you could try to write the funtion yourself (my_conv2.m). See the documentation for conv2; section Algorithms