Target Language Compiler | ![]() ![]() |
RTWGenSettings Record
The RTWGenSettings
record contains name/value pairs that are assigned via the system target file (e.g., grt.tlc
). During an RTW build, the M-code in the system target file
is executed and the RTWGenSettings
that are created are set on the model using set_param(
model
,'RTWGenSettings',rtwgensettings)
by make_rtw
. Note that the RTWgensettings
field name values must be strings. Simulink can then use the RTWGenSettings
to affect the compiled characteristics of the model and thus the contents of the model
.rtw
. The model
.rtw
will also contain the RTWGenSettings
so that rest of the build process including TLC code can have access to them. Additional RTWGenSettings
can be added and although Simulink will not use them, they will be written to the model
.rtw
file and can be used as desired by TLC code.
Note that the above RTWGenSettings
records are examples only. All field names and values actually found in a model
.rtw
file are user-specified.
![]() | General Information and Solver Specification | Data Logging Information (DataLoggingOpts) | ![]() |