Real-Time Workshop | ![]() ![]() |
The TLC Debugging
options are of interest to those who are writing TLC code when customizing targets, integrating legacy code, or developing new blocks. These options are summarized here; refer to the Target Language Compiler documentation for details. The TLC Debugging options are
model
.rtw
file from the build directory at the end of the build. When Retain .rtw file is selected, model
.rtw
is not deleted. This option is useful if you are modifying the target files, in which case you will need to look at the model
.rtw
file.
You can also invoke the TLC debugger by entering the -dc
argument into the System Target File field on the Real-Time Workshop pane.
To invoke the debugger and run a debugger script, enter -df
filename
into the System Target File field on the Real-Time Workshop pane.
This option is equivalent to entering the -dg
argument into the System Target File field on the Real-Time Workshop pane.
FALSE
. The box is not selected by default, meaning that TLC assertion code will be ignored. You may also use these MATLAB commands to control TLC assertion handling:
set_param(model, 'TLCAssertion', 'on|off')
to set this flag on or off. Default is Off.
get_param(model, 'TLCAssertion')
to see the current setting.
![]() | Target-specific Code Generation Options | Real-Time Workshop Submenu | ![]() |