User`s guide
Desktop Tools and Development Environment
22-7
M-Lint Automatic Code Analyzer Checks for Problems and Suggests Improvements
The M-Lint code analyzer, now built into the Editor/Debugger, continuously checks
your code for problems and recommends modifications to maximize performance and
maintainability. It performs the same analysis as the existing M-Lint Code Check report,
but also provides these features:
• Indicates the problem lines and associated M-Lint messages directly in the M-file
rather than in a separate report.
• Identifies (underlines) code fragments within a line that result in M-Lint messages.
• Distinguishes messages that report errors (red) from warnings and suggestions
(orange).
• Continually analyzes and updates messages as your work so you can see the effect of
your changes without having to save the M-file or rerun an M-Lint report.
To use or turn off M-Lint in the Editor/Debugger, select File > Preferences > Editor/
Debugger > Language, and for Language, select M. Under Syntax, select Enable M-
Lint messages, or clear the check box to turn it off. Use the associated drop-down list
to specify the types of code fragments that you want M-Lint to underline, for example,
Underline warnings and errors.