Download Real-Time Workshop

Transcript
Configuring Real-Time Workshop Code Generation Parameters
Note If you select C++, you might need to configure Real-Time Workshop
to use the appropriate compiler before you build a system. For details, see
“Choosing and Configuring a Compiler” on page 2-3.
Generate HTML Report
If you select the Generate HTML report option, Real-Time Workshop
produces a code generation report in HTML format and automatically opens
it for viewing in the MATLAB Help browser (on a PC, a separate window
opens containing the report).
When you select the Generate HTML report check box, Real-Time
Workshop automatically selects the check box under it named Launch
report after code generation completes. When this second check
box is selected, Real-Time Workshop displays the report immediately
after it generates the code. If you do not want to see the report at that
time, clear this second check box. In either case, you can open the report
later. Real-Time Workshop places the report on the MATLAB path at
modname_targetconfigname_rtw\html\modname_codegen_rpt.html. For
example, if the model for which you generate code is named fuelsys.mdl,
and you select grt as the target configuration, the HTML report is placed in
fuelsys_grt_rtw\html\fuelsys_codegen_rpt.html.
For more detail on report content, see “Viewing Generated Code in Generated
HTML Reports” on page 2-103.
TLC Options
You can enter Target Language Compiler (TLC) command line options in the
TLC options edit field, for example
• -aVarName=1 to declare a TLC variable and/or assign a value to it
• -IC:\Work to specify an include path
• -v to obtain verbose output from TLC processing (for example, when
debugging)
2-43