MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Servisní příručka Strana 54

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 282
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 53
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
Zobrazit stránku 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 281 282

Komentáře k této Příručce

Žádné komentáře