codeCompatibilityReport
Create code compatibility report
Syntax
Description
codeCompatibilityReport
creates a code compatibility
report for the current working folder and subfolders. The code
compatibility report opens in the MATLAB® Web Browser. After you upgrade to a newer version of MATLAB, you can use this report to identify potential compatibility
issues in your existing code.
A list of all checks performed by the MATLAB Code Analyzer, including checks for compatibility issues, can be found here, Index of Code Analyzer Checks.
codeCompatibilityReport(
creates a report for the files or folders specified by
names
)names
.
codeCompatibilityReport(___,'IncludeSubfolders',
specifies whether to report on subfolders. By default, subfolders are included
in the analysis. Use this syntax with any of the arguments in previous
syntaxes.tf
)
Examples
Input Arguments
More About
Tips
To save a report, instead of generating a report with the
codeCompatibilityReport
function, you can create aCodeCompatibilityAnalysis
object and save it. Then, you can generate a report from those saved results. For more information, see Create Report for Existing Analysis Results.
Alternatives
Access the Code Compatibility Report from the Apps tab, under MATLAB, click the app icon: .
Version History
Introduced in R2017b