Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

디버그 및 분석

문제 진단, 구문 확인 및 릴리스 호환성

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

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

함수

모두 확장

dbclear중단점 제거
dbcont실행 재개(Resume)
dbdowndbup 작업 공간 이동을 반대로 수행
dbquit디버그 모드 중지
dbstack함수 호출 스택(Function Call Stack)
dbstatus모든 중단점(Breakpoint) 나열
dbstep현재 중단점에서 실행 가능한 다음 라인 실행
dbstop디버그에 사용할 중단점(Breakpoint) 설정
dbtype라인 번호와 함께 파일 표시
dbup디버그 모드에서 현재 작업 공간(Current Workspace)을 호출자 작업 공간(Workspace Of Caller)으로 이동
keyboard키보드에 제어권 부여
echo함수 또는 스크립트 실행 중에 명령문 표시
codeIssuesIdentify code issues in files (R2022b 이후)
fixFix code issues (R2023a 이후)
exportWrite code issues to file (R2023b 이후)
checkcodeMATLAB 코드 파일에서 발생할 수 있는 문제 확인
mlintrptRun checkcode for file or folder
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.