Report is to check that an existing Contents.m file is up-to-date. However, it also checks
whether Contents.m exists, and can generate a new file based on the contents of the
folder. Follow these steps to create a file:
(^1) In the Current Folder browser, navigate to the folder that contains your program
files.
(^2) Click , and then select Reports > Contents Report.
(^3) In the report, where prompted to make a Contents.m file, click yes. The new file
includes the names of all program files in the folder, using the description line (the
first nonempty comment line) whenever it is available.
(^4) Open the generated file in the Editor, and modify the file so that the second comment
line is in this form:
% Version xxx dd-mmm-yyyy
Do not include any spaces in the date. This comment line enables the ver function to
detect the version information.
NoteMATLAB does not include live scripts or functions when creating a Contents
Report.
Check an Existing Contents.m File
Verify whether your Contents.m file reflects the current contents of the folder using the
Contents Report, as follows:
(^1) In the Current Folder browser, navigate to the folder that contains the Contents.m
file.
(^2) Click , and then select Reports > Contents Report.
NoteYou cannot run reports when the path is a UNC (Universal Naming Convention)
path; that is, a path that starts with \. Instead, use an actual hard drive on your system,
or a mapped network drive.
The Contents Report performs the following checks.
Create Help Summary Files — Contents.m