Learn R Programming

PopED (version 0.3.2)

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
# NOT RUN {
feval("sin",pi/2)

# }

Run the code above in your browser using DataLab