
Добавил:
MrGoldverg
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:
FEVAL Execute the specified function
FEVAL(F,x1,...,xn) evaluates the function specified by a function
handle or function name, F, at the given arguments, x1,...,xn.
For example, if F = @foo, FEVAL(F,9.64) is the same as foo(9.64).
If a function handle is bound to more than one built-in or
M-file, (that is, it represents a set of overloaded functions),
then the data type of the arguments x1 through xn, determines
which function is executed.
FEVAL is usually used inside functions which take function
handles or function strings as arguments. Examples include
FZERO and EZPLOT.
[y1,..,yn] = FEVAL(F,x1,...,xn) returns multiple output arguments.
Within methods that overload built-in functions, use BUILTIN(F,...)
to execute the original built-in function. Note that when using
BUILTIN, F must be a function name and not a function handle.
See also BUILTIN.
Overloaded methods
help inline/feval.m
BUILTIN Execute built-in function from overloaded method.
BUILTIN is used in methods that overload built-in functions to execute
the original built-in function. If F is a string containing the name
of a built-in function then BUILTIN(F,x1,...,xn) evaluates that
function at the given arguments.
BUILTIN(...) is the same as FEVAL(...) except that it will call the
original built-in version of the function even if an overloaded one
exists (for this to work, you must never overload BUILTIN).
[y1,..,yn] = BUILTIN(F,x1,...,xn) returns multiple output arguments.
See also FEVAL.
Соседние файлы в папке METOD