This is just a wrapper for the do.call function to behave like the feval function in MATLAB.
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(),
rand(),
randn(),
size(),
tic(),
toc(),
zeros()
Examples
feval("sin",pi/2)
#> [1] 1