이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
리포트 생성
HTML 코드 생성 리포트를 사용하면 생성된 코드의 소스 파일을 보고 코드 생성 목표, 서브시스템, 코드 인터페이스, 정적 코드 메트릭 등 생성된 코드에 대한 정보를 분석할 수 있습니다. 코드 생성 리포트는 코드와 모델 요소 간의 추적성을 제공합니다. MATLAB 환경 외부에서 모델과 생성된 코드를 공유하려면 모델의 웹 보기를 포함하십시오.
함수
coder.report.open | Open existing HTML code generation report |
coder.report.generate | Generate HTML code generation report |
coder.report.generateCodeMetrics | Generate static code metrics report |
coder.report.close | Close HTML code generation report |
도움말 항목
- Reports for Code Generation
Access the generated code files and information about the generated code with the code generation report.
- Generate Code Generation Report
When the model is built, generate an HTML code generation report for analyzing the generated code.
- Configure and Generate Code Generation Report Programmatically
You can programmatically generate, open, and close an HTML code generation report at the MATLAB® command line using the
coder.report.generate,coder.report.open, andcoder.report.closefunctions respectively. - Generate Static Code Metrics Report for Simulink Model
When generating code, generate a report that includes static code metrics, such as, the number of lines of code, size of global variables, and the number of reads and writes.
- Generate Web View of Model in Code Generation Report
Include a Web view of the model to share your model and generated code outside of the MATLAB environment.
- Document Generated Code with Simulink Report Generator
Explains how to use the Simulink® Report Generator™ software to generate a detailed report for a code generation project.