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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 54
Compiler Directives
2-35
FEVAL Function
The FEVAL built-in function calls MATLAB M-file functions and
MEX-functions. The structure is:
%assign result = FEVAL( matlab-function-name, rhs1, rhs2, ...
rhs3, ... );
Note: Only a single left-hand-side argument is allowed when calling
MATLAB.
TYPE(expr)
Evaluates expr and determines the
result type. The result of this
function is a string that corresponds
to the type of the given expression.
See value type string in the Target
Language Values table for possible
values.
WHITE_SPACE(expr)
Accepts a string and returns 1 if the
string contains only whitespace
characters (
, \t, \h, \r) and 0
otherwise.
WILL_ROLL(expr1, expr2)
The first expression is a roll vector
and the second expression is a
threshold. This function returns
true
if the vector contains a range that
will roll.
Table 2-4: TLC Built-in Functions and Values (Continued)
Special Macro Name Expansion
Vista de pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 281 282

Comentarios a estos manuales

Sin comentarios