feval: MATLAB feval function

Description Usage Arguments Value See Also Examples

View source: R/feval.R

Description

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

Usage

1
feval(file.name, ...)

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.

Value

Output from the defined function.

See Also

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

Examples

1
feval("sin",pi/2)

PopED documentation built on May 21, 2021, 5:08 p.m.