User`s guide

Implementation Overview
8-21
The following table lists the arguments to this SimStruct.
Table 8-1: Arguments to the rt_main SimStruct
model
A pointer to the entry point function in the
generated code. This function has the same name
as the Simulink model. It registers the local
functions that implement the model code by
adding function pointers to the model’s
SimStruct. See Chapter 6, “Program
Architecture,” for more information.
optStr
The options string used to specify a stop time
(
-tf) and whether to wait (-w)inexternalmode
for a message from Simulink before starting the
simulation. An example options string:
"-tf 20 -w"
scopeInstallString
A character string that determines which signals
are installed to StethoScope. Possible values are:
NULL (the default) Install no signals.
"
*" Install all signals.
"
[A-Z]*" Install signals from
blocks whose names
start with a capital
letter.
Specifying any other string installs signals from
blocks whose names start with that string.
scopeFullNames
This argument determines whether StethoScope
uses full hierarchical block names for the signals
it accesses or just the individual block name.
Possible values are:
1 Use full block names
0 Use individual block names (the default)
It is important to use full block names if your
program has multiple instances of a model or
S-function.