在此示例中,可以通过中的结果链接或直接通过访问本地函数的文档baz(在中定义foo.m)。help foohelp foo>baz
function bar = foo %This is documentation for FOO. % See also foo>baz % This wont be printed, because there is a line without % on it. end function baz % This is documentation for BAZ. end