Create generated code report for model with Simulink Report Generator
rtwreport(
creates
a report of code generation information for a model. Before creating
the report, the function loads the model and generates code. The code
generator names the report model
)codegen.html
. It places
the file in your current folder. The report includes:
Snapshots of the model, including subsystems.
Block execution order list.
Code generation summary with a list of generated code files, configuration settings, a subsystem map, and a traceability report.
Full listings of generated code that reside in the build folder.
rtwreport(
specifies
the build folder, model
,folder
)
.
The build folder (model_target
_rtwfolder
) and slprj
folder
must reside in the code generation folder. If the
software cannot find the folder
, an error occurs
and code is not generated.
Create a report for model rtwdemo_secondOrderSystem
:
rtwreport('rtwdemo_secondOrderSystem');
Create a report for model rtwdemo_secondOrderSystem
using
build folder,
rtwdemo_secondOrderSystem_grt_rtw
:
rtwreport('rtwdemo_secondOrderSystem', ... 'rtwdemo_secondOrderSystem_grt_rtw');
Import Generated Code
(Simulink Report Generator)Code Generation Summary
(Simulink Report Generator)