feval: MATLAB feval function

View source: R/feval.R

fevalR Documentation

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, ...)

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


feval("sin",pi/2)


andrewhooker/PopED documentation built on Nov. 23, 2023, 1:37 a.m.