MATLAB Functions Help Desk

builtin

Purpose

Execute builtin function from overloaded method

Syntax

Description

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

builtin(function,x1,...,xn) evaluates that function at the given arguments.

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

Remarks

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

See Also

fevalFunction evaluation



[ Previous | Help Desk | Next ]