Hauptinhalt

Erkennen von Codeproblemen

Erkennen von Problemen, Prüfen der Versionskompatibilität und Bereitschaft für Codegenerierung

MATLAB® erkennt bei der Arbeit im Editor und Live Editor automatisch potenzielle Codeprobleme. Zudem können Sie Berichte erzeugen, die Ihnen dabei helfen, den Code beim Upgrade auf eine neuere MATLAB-Version zu aktualisieren.

Tools

Code AnalyzerIdentify and address code issues (Seit R2022b)
Code Compatibility AnalyzerIdentify and address compatibility issues against current version of MATLAB (Seit R2022a)

Funktionen

alle erweitern

codeIssuesIdentify code issues in files (Seit R2022b)
fixFix code issues (Seit R2023a)
exportWrite code issues to file (Seit R2023b)
checkcodeCheck MATLAB code files for possible problems
codeCompatibilityReportCreate code compatibility report
analyzeCodeCompatibilityCreate code compatibility analysis results
matlab.codeanalysis.validateConfigurationValidate Code Analyzer configuration file (Seit R2023a)
matlab.codeanalysis.refreshConfigurationRefresh cached Code Analyzer configuration (Seit R2023a)

Themen

Syntaxprüfung

Versionskompatibilität

Codegenerierung

  • Code Generation Readiness Tool
    The code generation readiness tool screens MATLAB code for features and functions that code generation does not support.