codeIssues
Description
The codeIssues object stores issues found by the MATLAB® Code Analyzer. The issues found in one or more specified files or folders can be
sorted and filtered, either programmatically on the command line or interactively in the Code
Analyzer app.
Creation
Description
identifies code issues
for the current folder and returns a issues = codeIssuescodeIssues object.
analyzes the files or folders specified by issues = codeIssues(names)names. The files to
analyze must be valid MATLAB code or app files (*.m, *.mlx, or *.mlapp).
changes the files used in analysis based on one or more name-value arguments. For example,
issues = codeIssues(names,Name=Value)issues = codeIssues(names,IncludeSubfolders=false) excludes
subfolders of names from analysis.
Input Arguments
Name-Value Arguments
Properties
Examples
Tips
Use
jsonencodeto generate a JSON format string of thecodeIssuesobject.
Version History
Introduced in R2022b