
7 Tuning and Managing M-Files
Updated M-Lint Code
Check Report after
making changes to
the lenghtofline file
based on M-Lint
messages. Now, no
messages
are reported.
The M-file that includes all of the changes suggested by M -Lint is
lengthofline2.m.Toviewit,run
edit(fullfile(matlabroot,'help','techdoc','matlab_env',...
'examples','lengthofline2.m'))
.
Other Ways to Access M-Lint
Yo u can get M-Lint m essages using any of the following methods. Each
provides the same M-Lint mess ages,butinadifferentformat:
• A ccess the M-Lint Code Check report for an M-fil e from the Editor/Debug ger
Tools menu or from the Profiler detail report.
• Run the
mlint function, which analyzes the specified file and displays
messages in the Command Window, or
mlintrpt, which runs mlint and
displays the messages in the Web Browser.
• Use automatic M -Lint analysis and code correction while you w ork on a file
in the Editor/Debugger — see “M-Lint Co de Analyzer” on page 6-87 .
7-26
Commentaires sur ces manuels