MATLAB COMPILER RELEASE NOTES User's Guide Page 602

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 601
R2006b
21-12
Compatibility Considerations
The new File Comparisons tool replaces the File Comparison Report. The tool provides
the same functionality as the report did, and adds new features. For details, see “File
Comparisons Tool Added” on page 21-8.
M-Lint Code Check Report Enhancements and Changes
You can indicate specific messages or categories of messages you want M-Lint to
report. For details, see “M-Lint Enhancements for Suppressing Messages, and Showing
Messages for the MATLAB Compiler Product” on page 21-10.
Compatibility Considerations
In previous versions, the M-Lint Code Check report showed all messages except those
suppressed via a %#ok at the end of a line. Now, the M-Lint Code Check report will show
only the messages that are enabled via M-Lint preferences.
mlint Message IDs Changed and %#ok Syntax Enhanced
The mlint function with the -id option returns message IDs using a new form. For
example, when you run
mlint('filename.m', '-id')
MATLAB Version 7.2 (R2006a) returns
L 22 (C 1-9) 2:AssignmentNotUsed : The value ...
whereas MATLAB Version 7.3 (R2006b) returns
L 22 (C 1-9): NASGU: The value ...
The %#ok syntax used in M-files to suppress the display of M-Lint messages for a line
has been enhanced to support multiple messages per line. For example, given this line in
an M-file,
data{nd} = getfield(flds,fdata{nd});
two M-Lint messages result:
34: 'data' might be growing inside a loop; ...
Page view 601
1 2 ... 597 598 599 600 601 602 603 604 605 606 607 ... 715 716

Comments to this Manuals

No comments