User`s guide
3 Project Generator
Create Code Generation report
After you generate code, this option tells the software whether to generate
an H TM L report that documents the C code generated from your model.
When y ou select this option, Real-Time Workshop writes the code
generation report files in the
html subdirectory of the build directory. The
top-level HTML report file is named
modelname_codegen_rpt.html or
subsystemname_codegen_rpt.html. For more information about the report,
refer to the online help for Real-Time Workshop. Y ou can also use the
following command at the MATLAB prompt to get more information.
docsearch 'Create code generation report'
In the Navigation options, when you select Model-to-code and
Code-to-model, your HTML report includes hyperlinks to various features
in your Simulink model.
Launch report automatically
This option directs Real-Time Workshop to open a MATLAB Web brow ser
window and display the code generation report. If you clear this option,
you can open the code generation report (
modelname_codegen_rpt.html or
subsystemname_codegen_rpt.html) manually in a MATLAB Web browser
window or in another Web browser.
Debug Pane Parameters
Real-Time Workshop uses the processor Language Compiler (TLC) to
generate C code from the
model.rtw fi le. The TLC debugger helps you identify
programming errors in your TLC co de . Using the debugge r, you can
• View the TLC call stack.
• Execute TLC code line-by-line and analyze and/or change variables in a
specified block scope.
When you select
Debug from the Select tree, you see the Debug options as
shown in the next figure. In this dialog box, you set options that are specificto
Real-Time Workshop process and TLC debugging.
3-54