Learn R Programming

PopED (version 0.7.0)

feval: MATLAB feval function

Description

This is just a wrapper for the do.call function to behave like the feval function in MATLAB.

Usage

feval(file.name, ...)

Value

Output from the defined function.

Arguments

file.name

A function or a string that is the name of a function.

...

Arguments for the function. Multiple arguments separated by a comma.

See Also

Other MATLAB: cell(), diag_matlab(), fileparts(), isempty(), ones(), rand(), randn(), size(), tic(), toc(), zeros()

Examples

Run this code

feval("sin",pi/2)

Run the code above in your browser using DataLab