주요 콘텐츠

코드 문제 식별하기

문제 식별, 릴리스 호환성과 코드 생성 준비 상태 확인

편집기와 라이브 편집기에서 작업할 때 MATLAB®은 잠재적인 코딩 문제를 자동으로 식별합니다. 또한 최신 MATLAB 릴리스로 업그레이드할 때, 코드를 업데이트하는 데 도움이 되는 리포트를 생성할 수 있습니다.

코드 분석기Identify and address code issues (R2022b 이후)
코드 호환성 분석기Identify and address compatibility issues against current version of MATLAB (R2022a 이후)

함수

모두 확장

codeIssuesIdentify code issues in files (R2022b 이후)
fixFix code issues (R2023a 이후)
exportWrite code issues to file (R2023b 이후)
checkcodeMATLAB 코드 파일에서 발생할 수 있는 문제 확인
codeCompatibilityReport코드 호환성 리포트 만들기
analyzeCodeCompatibility코드 호환성 분석 결과 생성
matlab.codeanalysis.validateConfigurationValidate Code Analyzer configuration file (R2023a 이후)
matlab.codeanalysis.refreshConfigurationRefresh cached Code Analyzer configuration (R2023a 이후)

도움말 항목

구문 확인

릴리스 호환성

  • MATLAB 코드 호환성 분석기
    최신 MATLAB 릴리스로 업그레이드 시 코드에 있는 잠재적 호환성 문제를 확인할 수 있도록 리포트를 생성합니다.

코드 생성

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