Technical data
2
Working with the Target Language
2-34
STRINGOF(expr)
Accepts a vector of ASCII values and
returns a string that is constructed
by treating each element as the
ASCII code for a single character.
Used primarily for S-function string
parameters in RTW.
SYSNAME(expr)
Looks for specially formatted strings
of the form
<x>/y and returns x and y
as a 2-element string vector. This is
used to resolve subsystem names in
RTW. For example:
%<sysname("<sub>/Gain")>
returns
["sub","Gain"]
To expand a full Simulink path
name, see
LibPathName in the
“Target Language Compiler Function
Library Reference” chapter.
TLCFILES
Returns a vector containing the
names of all the target files included
thus far in the expansion. Also, see
NUMTLCFILES.
TLC_TIME
The date and time of compilation.
TLC_VERSION
The version and date of the Target
Language Compiler.
Table 2-4: TLC Built-in Functions and Values (Continued)
Special Macro Name Expansion