MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

folder, the help command displays each of these function names as a hyperlink to its
help. Otherwise, help prints the function names as they appear in the help text.


You can include hyperlinks (in the form of URLs) to Web sites in your help text. Create
hyperlinks by including an HTML anchor element. Within the anchor, use a
matlab: statement to execute a web command. For example:


% For more information, see the MathWorks Web site.


End your help text with a blank line (without a %). The help system ignores any comment
lines that appear after the help text block.


NoteWhen multiple programs have the same name, the help command determines
which help text to display by applying the rules described in “Function Precedence
Order” on page 20-43. However, if a program has the same name as a MathWorks
function, the Help on Selection option in context menus always displays documentation
for the MathWorks function.


See Also


help | lookfor


Related Examples



  • “Add Comments to Programs” on page 18-4

  • “Create Help Summary Files — Contents.m” on page 30-12

  • “Check Which Programs Have Help” on page 30-9

  • “Display Custom Documentation” on page 30-27

  • “Use Help Files with MEX Functions”


See Also
Free download pdf