MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Obsługi Strona 55

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 282
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 281 282

Komentarze do niniejszej Instrukcji

Brak uwag