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

  • 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 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
Zobrazit stránku 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 281 282

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

Žádné komentáře