MATLAB COMPILER RELEASE NOTES User's Guide Page 641

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 640
Desktop Tools and Development Environment
22-11
M-Lint and mlint Enhancements and Changes
The M-Lint code analyzer is now built into the Editor/Debugger where it continuously
checks your code for problems and recommends modifications to maximize performance
and maintainability. For details, see “M-Lint Automatic Code Analyzer Checks for
Problems and Suggests Improvements” on page 22-7.
Compatibility Considerations
The mlint function has changed slightly to support its use in the Editor/Debugger.
Specifically, the results returned from mlint with the -id option are of a different
form than for previous versions. If you rely on the exact values, you need to make
modifications.
For example, this is the form of a message returned in R2006a: L 22 (C 1-9)
2:AssignmentNotUsed : The value assigned here to variable
'nothandle' might never be used.
This is the form of the message from R14SP3: 22 (C 1-9)
InefficientUsage:AssignmentNotUsed : The value assigned here to
variable 'nothandle' might never be used.
There is now a numeric identifier, followed by the category, for example:
2:AssignmentNotUsed.
If you do rely on the exact values, note that there have been very few changes to the
message text itself. For example, both R14SP3 and R2006a use the same text: The
value assigned here to variable 'nothandle' might never be used.
Because of improvements being made to mlint, the values returned using the -id option
are expected to change in the next version as well, particularly the numeric identifier and
category form. Do not rely on the exact values returned using mlint with the -id option
or you will probably need to make modifications.
Profiling Enhancements
nohistory Option Added to profile Function
Use the new profile -nohistory option after having previously set the -history
option to disable further recording of history (exact sequence of function calls). All other
profiling statistics continue to accumulate.
Page view 640
1 2 ... 636 637 638 639 640 641 642 643 644 645 646 ... 715 716

Comments to this Manuals

No comments