MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

  • Functionality that has changed behavior — Confirm that the change in
    behavior is acceptable, and if not, update your code for the current release.

  • Functionality that will be removed — Update your code now or in a later
    release. Updating your code now makes future upgrades easier.

  • Functionality that will change behavior — Investigate these changes now to
    make future upgrades easier.

  • Functionality that is not recommended — Consider updating your code. The
    code is expected to continue working in future releases but uses functionality that
    is not recommended.


The Code Compatibility Report also includes information about the checks performed
on your code and the list of files that MATLAB analyzed for code compatibility.

Programmatic Use


When you generate a Code Compatibility Report through the current folder browser,
MATLAB analyzes code in the current working folder and subfolders. However, if you
generate a report programmatically, you can specify particular files to analyze or to
exclude subfolders from analysis. To generate a report programmatically, use one of the
following methods.


  • To generate a report that opens in the MATLAB® Web Browser programmatically, use
    the codeCompatibilityReport function.

  • To return a CodeCompatibilityAnalysis object that contains the report
    information, use the analyzeCodeCompatibility function. You can then display a
    report for the stored object using the codeCompatibilityReport function.


See Also
CodeCompatibilityAnalysis | analyzeCodeCompatibility |
codeCompatibilityReport

24 Coding and Productivity Tips

Free download pdf