报告
R2026b您可以生成有关生成代码的报告。创建代码生成报告以估计生成 HDL 代码的时序和资源使用量,查看 HDL Coder™ 如何将优化应用于生成的代码,并在代码和 Simulink® 之间进行追溯。生成编码标准报告以识别在生成代码中违反编码标准的情况。
模型设置
主题
- Create and Use Code Generation Reports
Describes how to generate a report including information on the generated code and suggestions for optimization. You can view the report in an HTML browser. The report supports bidirectional tracing between the generated code and the source blocks in your model.
- Generate HDL Coding Standard Report from Simulink
Generate an HDL coding standard report from your Simulink model by using the Configuration Parameters dialog box or at the command line.
- Code Generation Reports
View code generation results.
- Navigate Between Simulink Model and HDL Code by Using Traceability
Even a relatively small model can generate hundreds of lines of HDL code.
- HDL Coding Standard Report
What an HDL coding standard report is, the rule summary, and how you can fix warnings or errors related to rule violations.
- 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.
- Trace Code Using the Mapping File
How to use a mapping file to trace generated HDL entities back to the corresponding systems in your model.
- Find Feedback Loops
Highlight feedback loops that are inhibiting optimizations.