Real-Time Workshop User's Guide | ![]() ![]() |
Target Specific Code Generation Options
Different target configurations support different code generation options that are not supported by all available targets. For example, the grt
, grt_malloc
, Tornado, xPC, and Real-Time Windows targets support external mode, but other targets do not.
This section summarizes the options specific to the generic real-time (GRT) target. For information on options specific to other targets, see the documentation relevant to those targets. Available Targets lists targets and related chapters and manuals.
Figure 3-3: GRT Code Generation Options
MAT-file Variable Name Modifier Menu
This menu selects a string to be added to the variable names used when logging data to MAT-files. You can select a prefix (rt_
), suffix (_rt
), or choose to have no modifier. The Real-Time Workshop prepends or appends the string chosen to the variable names for system outputs, states, and simulation time specified in the Workspace I/O page.
See Workspace I/O Options and Data Logging for information on MAT-file data logging.
External Mode Option
Selecting this option turns on generation of code to support external mode communication between host and target systems. This option is available for GRT and other targets supporting external mode. For information see Chapter 5, External Mode.
![]() | General Code Generation Options | TLC Debugging Options | ![]() |