MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Add Reminders to Files


Annotating a file makes it easier to find areas of your code that you intend to improve,
complete, or update later. To annotate a file, add comments with the text TODO, FIXME, or
any text of your choosing. After you annotate several files, run the TODO/FIXME Report,
to identify all the MATLAB code files within a given folder that you have annotated.

This sample TODO/FIXME Report shows a file containing the text TODO, FIXME, and
NOTE. The search is case insensitive.

Working with TODO/FIXME Reports


1 Use the Current Folder browser to navigate to the folder containing the files for
which you want to produce a TODO/FIXME 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.

(^2) On the Current Folder browser, click , and then select Reports > TODO/FIXME
Report.
The TODO/FIXME Report opens in the MATLAB Web Browser.
(^3) In the TODO/FIXME Report window, select one or more of the following to specify the
lines that you want the report to include:



  • TODO

  • FIXME


Add Reminders to Files
Free download pdf