MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

  • The text field check box


You can then enter any text in this field, including a regular expression on page 2-


  1. For example, you can enter NOTE, tbd, or re.*check.


Specifying custom text or which lines to search for is not supported in MATLAB
Online.

(^4) Run the report on the files in the current folder, by clicking Rerun This Report.
The window refreshes and lists all lines in the MATLAB files within the specified
folder that contain the text you selected in step 1. Matches are not case sensitive.
If you want to run the report on a folder other than the one currently specified in the
report window, change the current folder. Then, click Run Report on Current
Folder.
To open a file in the Editor at a specific line, click the line number in the report. Then you
can change the file, as needed.
Suppose you have a file, area.m, in the current folder. The code for area.m appears in
the image that follows.
When you run the TODO/FIXME report on the folder containing area.m, with the text
TODO and FIXME selected and the text NOTE specified and selected, the report lists:
9 and rectangle. (todo)
24 Coding and Productivity Tips

Free download pdf