Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

builtin - Execute built-in function from overloaded method

Syntax

builtin(function, x1, ..., xn)
[y1, ..., yn] = builtin(function, x1, ..., xn)

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS