# feval (Matlab function)

Function evaluation

## Matlab/Scilab equivalent

Matlab | Scilab

    feval

    evstr - execstr

## Particular cases

One output:

  In this case Scilab evstr is an equivalent to feval, after modifying inputs such as in examples below.

More than one output:

  In this case Scilab execstr is an equivalent to feval, after modifying inputs such as in examples below.

## Examples

Matlab | Scilab

    [y1] = feval(@cos,0)
    [y1,y2] = feval(@size,1)

    y1 = evstr("cos(0)")
    execstr("[y1,y2] = size(1)")