tlc [switch1 expr1 switch2 expr2 ...] filename.tlc
Target Language Compiler Switches
Reads a database file (such as an
Sets the internal verbosity level to
Adds the specified folder to the list of paths to be searched for TLC files.
Specifies that the output produced should be placed in the designated
folder, including files opened with
Parse TLC file only (do not execute).
Performs some simple checks for performance and obsolete features.
Prints a dot (
Invokes the TLC’s debug mode.
Checks for cyclic records (records that reference each other, a source of memory leaks).
Specifies an initial value,
Enables a warning when an identifier-value pair of a record overwrites a local variable. The warning is disabled by default.
As an example, the command line
tlc -r myModel.rtw -v grt.tlc
myModel.rtw should be read and used to process
grt.tlc in verbose mode.
Target files have the
.tlc extension. By default, block-level
files have the same name as the
Type of the block in which they appear.
You can override the search path for target files with your own local versions. The Target Language Compiler
finds target files along this path. If you specify additional search paths with the
-I switch of the
tlc command or via the
%addincludepath directive, the search order is:
Include paths specified in
directives. The compiler evaluates multiple
directives from the bottom up.
Include paths specified at the command line via
-I . The compiler evaluates multiple
options from right to left.
The compiler does not search the MATLAB® path, and will not find a file that is available only on that path. The compiler searches only the locations described above.