MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de servicio Pagina 54

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 281 282

Comentarios a estos manuales

Sin comentarios