Installation guide
M-Lint Code Check Report
• Use the Help browser Search and Index panes to find documentation
about terms presented in the M-Lint messages.
Other techniques to help you identify problems in and improve your M-files
are in these topics:
• “Syntax Highlighting” on page 6-28 in the Command Window and
Editor/Debugger
• “E xamining Errors” on page 3-9 generated when y ou run the M-file
• “Finding Errors, Debugging, and Correcting M-Files” on page 6-8 4, namel y
the Editor/Debugger and debugging functions
• “Profiling for Improving Performance” on page 7-27 for improving
performance
Example Using M-Lint Messages to Improve Code
An example file, lengthofline.m, is included with MATLAB in
matlabroot/matlab/help/techdoc/matlab_env/examples.
To run the M-Lint Code Check Report for
lengthofline.m, change the
current directory to its location by running
cd(fullfile(matlabroot,'help','techdoc','matlab_env','examples'))
In the Current D irectory b rowser, select the M-Lint Code Check Report
from the list of directory reports on the toolbar.
The M - L in t Code Ch e ck Report appears, with its list of me ssages suggesting
improvements you can m ake to
lengthofline.m and a ny other files in the
directory.
7-19