Technical data
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