Learn R Programming

PopED (version 0.3.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, ...)

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, isfield, ones, randn, randperm, rand, size, tic, toc, zeros

Examples

Run this code

feval("sin",pi/2)

Run the code above in your browser using DataLab