function output = mymult(a, b)
% MYMULT Multiply two numbers.
% output = MYMULT(a, b) multiplies a and b.
%
% See also fft, foo, sin.
%
% For more information, see <a href="matlab:web('https://google.com')">Google</a>.
output = a * b;
end
help mymult
then provides:
mymult Multiply two numbers.
output = mymult(a, b) multiplies a and b.
See also fft, foo, sin.
For more information, see Google.
fft
and sin
automatically link to their respective help text, and Google is a link to google.com. foo
will not link to any documentation in this case, as long as there is not a documented function/class by the name of foo
on the search path.