Real-Time Workshop User's Guide |
 |
Generating a Code Generation Report
The Real-Time Workshop Embedded Coder code generation report is an HTML file consisting of several sections:
- The Summary section lists version and date information, TLC options used in code generation, and Simulink model settings.
- The Optimizations section lists the optimizations used during the build, and also those that are available. If options were chosen that generated non-optimal code, they are marked in red. This section can help you select options that will better optimize your code.
- The Generated Source Files section contains a table of source code files generated from subsystems (if any) in your model. Each row contains a hyperlink to the relevant subsystem. You can click on the hyperlink to view the subsystem in a Simulink model window.
To generate a code generation report:
- Select the Real-Time Workshop tab of the Simulation Parameters dialog box. Then select Advanced code generation options from the Category menu.
- Select Generate HTML report, as shown in this picture.

- Click the Build button.
- The Real-Time Workshop writes the code generation report file in the build directory. The file is named
model
_codegen_rpt.html
.
- The Real-Time Workshop automatically opens the MATLAB Help Browser and displays the code generation report.
Alternatively, you can view the code generation report in your Web browser.
| Generating Block Comments | | Controlling Stack Space Allocation |  |