MATLAB Function Reference Previous page   Next Page
builtin

Execute built-in function from overloaded method

Syntax

Description

builtin is used in methods that overload built-in functions to execute the original built-in function. If function is a string containing the name of a built-in function, then

builtin(function, x1, ..., xn) evaluates the specified function at the given arguments x1 through xn. The function argument must be a string containing a valid function name. function cannot be a function handle.

[y1, ..., yn] = builtin(function, x1, ..., xn) returns multiple output arguments.

Remarks

builtin(...) is the same as feval(...) except that it calls the original built-in version of the function even if an overloaded one exists. (For this to work you must never overload builtin.)

See Also

feval


Previous page  brighten bvp4c Next page

© 1994-2005 The MathWorks, Inc.