To determine which of your programs files have help text, you can use the Help Report.
In the Help Report, you specify a set of help components for which you want to search, such as examples or See Also lines. For each file searched, MATLAB® displays the help text for the components it finds. Otherwise, MATLAB displays a highlighted message to indicate that the component is missing.
To generate a Help Report, in the Current Folder browser, navigate to the folder you want to check, click , and then select Reports > Help Report. The Help Report displays in the MATLAB Web browser.
This table describes the available options for Help Reports.
|Help Report Option||Description|
Show class methods
Include methods in the report. If you do not select this option, then the report includes results for classes, but not for methods within a class definition file.
Show all help
Display all help text found in each file. If you also select individual help components, such as Description, then help text appears twice in the report for each file: once for the overall help text, and once for the component.
If your program has the same name as other programs on the MATLAB search path, then the help command generates a list of those overloaded items and automatically adds links to the help for those items.
Check for an initial, nonempty comment line in the file. This line is sometimes called the H1 line.
Check for examples in the help text. The Help Report performs a case-insensitive search for a help line with a single-word variant of example. The report displays that line and subsequent nonblank comment lines, along with the initial line number.
Check for a line in the help that begins with the string See also. The report displays the text and the initial line number.
If the programs listed after See also are on the search path, then the help command generates hyperlinks to the help for those programs. The Help Report indicates when a program in the See also line is not on the path.
Check for a comment line in the file that begins with the string Copyright. When there is a copyright line, the report also checks whether the end year is current. The date check requires that the copyright line includes either a single year (such as 2012) or a range of years with no spaces (such as 2001-2012).
The recommended practice is to include a range of years from the year you created the file to the current year.