User`s guide
R2006b
21-10
You can also run the File Comparisons tool from the desktop by selecting Desktop >
File Comparisons. Drag a file from the Current Directory browser or Windows Explorer
into the tool. Then drag the second file into the tool.
M-Lint Enhancements for Suppressing Messages, and Showing Messages for the MATLAB
Compiler Product
These are the new features and changes to M-Lint:
• “General Enhancements—Japanese Messages, and Line Number in Indicator Bar” on
page 21-10
• “Suppressing M-Lint Messages” on page 21-10
• “Deployment Messages in M-Lint” on page 21-10
General Enhancements—Japanese Messages, and Line Number in Indicator Bar
• On Japanese systems, messages now appear in Japanese.
• The messages that appear at the indicator bar now includes the line number.
Suppressing M-Lint Messages
The M-Lint automatic code analyzer in the Editor/Debugger now provides a few ways for
you to suppress specific messages and categories of messages:
• Ignore Specific Instance — Right-click at the underline for an M-Lint message, and
from the context menu, suppress just that instance. M-Lint adds %#ok and a new
message ID tag to the end of the line, which is the syntax in MATLAB for suppressing
an M-Lint message.
• Disable All Instances — Right-click at the underline for an M-Lint message, and from
the context menu, disable all instances of that message in all files. This changes the
preference setting for that message.
• Use Preferences to Disable All Instances — Select File > Preferences > M-Lint,
and disable specific messages or categories of messages, which applies to all instances
in all files. You can save the settings to an M-Lint preference file. From the Editor/
Debugger, you can select the M-Lint preference file from the Tools > M-Lint menu.
The M-Lint Code Check report also uses the preferences and suppresses the display of
specific messages and categories of messages, per the preference settings.
Deployment Messages in M-Lint
M-Lint now displays deployment messages for the MATLAB Compiler product, such as
MCC does not permit the CD function, which appear if the MATLAB Compiler