코드 문제 식별하기
문제 식별, 릴리스 호환성과 코드 생성 준비 상태 확인
편집기와 라이브 편집기에서 작업할 때 MATLAB®은 잠재적인 코딩 문제를 자동으로 식별합니다. 또한 최신 MATLAB 릴리스로 업그레이드할 때, 코드를 업데이트하는 데 도움이 되는 리포트를 생성할 수 있습니다.
툴
| 코드 분석기 | Identify and address code issues (R2022b 이후) |
| 코드 호환성 분석기 | Identify and address compatibility issues against current version of MATLAB (R2022a 이후) |
함수
도움말 항목
구문 확인
- 입력할 때 구문 검사하기
구문 강조와 구분 기호 짝 맞추기를 사용하여 구문 오류를 방지합니다. - 코드 분석기를 사용하여 코드에서 오류와 경고 확인하기
MATLAB 코드 분석기를 사용하면 코드에 코딩 문제가 있는지 자동으로 확인할 수 있습니다. - MATLAB 코드 분석기 리포트(Code Analyzer Report)
코드에서 잠재적인 오류, 문제 및 개선의 여지가 있는 부분을 식별하는 리포트를 생성합니다. - Code Analyzer Settings
Modify Code Analyzer settings to enable or disable Code Analyzer features and specify message indicator settings. - Customize Code Analyzer Checks Using Configuration File
Configure Code Analyzer checks and add custom checks using configuration file. (R2023a 이후)
- Index of Code Analyzer Checks
This topic contains a listing of built-in MATLAB Code Analyzer checks which you can modify to meet your own custom coding standards.
릴리스 호환성
- MATLAB 코드 호환성 분석기
최신 MATLAB 릴리스로 업그레이드 시 코드에 있는 잠재적 호환성 문제를 확인할 수 있도록 리포트를 생성합니다.
코드 생성
- Code Generation Readiness Tool
The code generation readiness tool screens MATLAB code for features and functions that code generation does not support.