MATLAB POLYSPACE 7 Przewodnik Instalacji Strona 461

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 460
Directory Rep orts in Current Directory Browser
The report looks for a line in the M-file help that begins w ith the string See
also
. If the report does not find a see also line in the M-file help, No see-also
line, highlighted in pink, appears. This helps you identify those M-files
witho ut a see als o line, should you want to includ e one in each M-file.
The report also indicates when an M-file noted in the s ee also line is not in a
directory on the search path. You might want to move that file to a directory
that is on the search path. If not, you will not be able to click the link to get
help for the file, unless you then add its directory to the path or make its
directory become the current directory.
Copyright
With Copyright selected, the Help Report displays the line number for the
copyrigh t line in the M-file. The report looks for a comment line in th e M-file
that begins with the string
Copyright and is f ollowed by year1-year2 (with
no spaces between the years and the hyphen that separates them
).Italso
notes if the end o f the date range is not the current year.
It is a good practice to include a copyright line in the help for your M-files,
that notes the year you created the file and the current year. For example,
for an M-file you created in 2001, include this line
% Copyright 2001-2006
If the report does not find a copyright line in the M-file help, No copyright
line, highlighted in pink, appears. This helps you identify those files without
a copyright line, should you want to include one in each M-file.
Contents Report
The Contents Report displays information about the integrity of the
Contents.m file for the directory. A Contents.m file includes the filename
and a brief description of each M-file in the directory. W hen you type
help
followed by the directory name, such as help mydemos, MATLAB displays
the information in the
mydemos/Contents.m file. For m ore inform ation,
see “Providing Help for Your Program” in the MATLAB Programming
documentation.
7-9
Przeglądanie stron 460
1 2 ... 456 457 458 459 460 461 462 463 464 465 466 ... 617 618

Komentarze do niniejszej Instrukcji

Brak uwag