MATLAB Answers

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

36 views (last 30 days)
Dave Walter
Dave Walter on 13 Apr 2016
Answered: Juan Reyes on 16 Jun 2016
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.

  0 Comments

Sign in to comment.

Accepted Answer

Rangan M K
Rangan M K on 15 Apr 2016
Edited: Rangan M K on 15 Apr 2016
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.

  0 Comments

Sign in to comment.

More Answers (1)

Juan Reyes
Juan Reyes on 16 Jun 2016
In Simulink -------- Code-> C/C++ Code -> Code Generation Report -> Open Model Report.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!