MATLAB Answers

How do I open the Code Generation Report after it's been closed?

24 ビュー (過去 30 日間)
Dave Walter
Dave Walter 2016 年 4 月 13 日
回答済み: Juan Reyes 2016 年 6 月 16 日
I generate the C code using ctrl-B and the Code Generation Report opens. I can see all the *.css, *.html, and *.js files under the folder model_grt_rtw/html.
Is there a way to reopen the code generation report again without regenerating all the code? I'd like to save the report as part of the documentation for the project for other users to read.

採用された回答

Rangan M K
Rangan M K 2016 年 4 月 15 日
編集済み: Rangan M K 2016 年 4 月 15 日
If your model is xyz.mdl In the html folder there is a file called xyx_codegen_rpt.html. You can open this file.
The second method is in Model Explorer in Model Hierarchy view, Under your model there is Model Workspace and below -> Code for xyx. By clicking this you can see the HTML report option in Contents of xyz/Code. Hope this is what you required.

その他の回答 (1 件)

Juan Reyes
Juan Reyes 2016 年 6 月 16 日
In Simulink -------- Code-> C/C++ Code -> Code Generation Report -> Open Model Report.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by