User`s guide

Quick Start Tutorials
3-39
you can navigate to identify the settings of every option in place at the time
that the HTML report was generated.
You can refer to HTML reports at any time. To review an existing HTML
report after you have closed its window, use any HTML browser to open the
file
html/model_codgen_rpt.html within your build directory.
Note The contents of HTML reports for different target types vary, and
reports for models with subsystems feature additional information. You can
also view HTML-formatted files and text files for generated code and model
reference targets within Model Explorer. See See “Tutorial 6: Generating
Code for a Referenced Model” on page 3-51 for more information.
For further information on configuring and optimizing generated code,
consult these sections of the Real-Time Workshop User’s Guide
documentation:
“Code Generation and the Build Process” contains overviews of controlling
optimizations and other code generation options.
“Optimizing the Model for Code Generation” for additional details on signal
reuse, expression folding, and other code optimization techniques.
“Program Architecture” for details on the structure and execution of
model.c files.
Tutorial 5: Working with External Mode Using GRT
This section provides step-by-step instructions for getting started with
external mode, a very useful environment for rapid prototyping. The tutorial
consists of four parts, each of which depends on completion of the preceding
ones, in order. The four parts correspond to the steps that you would follow in
simulating, building, and tuning an actual real-time application:
Part 1: Setting Up the Model
Part 2: Building the Target Executable
Part 3: Running the External Mode Target Program
Part 4: Tuning Parameters