생성 코드 살펴보기
코드 생성 리포트를 사용하여 생성 코드 탐색 및 이해
코드를 생성한 후 소스 코드를 검사하고 결과를 출력합니다. 코드 생성 리포트는 생성된 C/C++ 소스 파일, 생성된 데이터형 및 기타 코드 인사이트를 검사하기 위한 대화형 방식의 인터페이스를 제공합니다. 리포트 정보 객체를 사용하여 프로그래밍 방식으로 코드 생성 리포트 정보의 일부에 액세스합니다.
함수
getLineColumn | Find locations of beginning and end of MATLAB code involved in code generation |
속성
| coder.BuildLog Properties | Build logs produced during code generation |
| coder.CodeFile Properties | Description of file containing text that is involved in code generation |
| coder.File Properties | Description of file without text that is involved in code generation |
| coder.Function Properties | Description of MATLAB function used in code generation |
| coder.Message Properties | Description of message produced during code generation readiness analysis or during code generation |
| coder.Method Properties | Description of method in a MATLAB class used in code generation |
| coder.ReportInfo Properties | Code generation report information |
| coder.Summary Properties | Summary of code generation from MATLAB code |
도움말 항목
코드 생성 리포트
- Code Generation Reports
View code generation results. - Tracing Generated C/C++ Code to MATLAB Source Code
Generate traceability tags. - Access Code Generation Report Information Programmatically
Access information about code generation such as input files, generated files, and error messages by using a report information object.
문제 해결하기
- Avoid Duplicate Functions in Generated Code
Reduce the occurrence of duplicate functions in the generated code.
