FEVAL does not work correctly with:
a) anonymous functions
b) function specifyed by its full-name
c) functions outside MATLAB's PATH.
This program resolves this problems and adds new functionalities:
d) run a function with a given directory as current, different to the current one (PWD).
e) run an script outside the PATH and getting any variable definition on MATLAB workspace (new, Sep 2009)
>> evalf -C:\ ls
to get a list of files on Windows Root.
The file includes many others examples. I tried to make it work on almost all previous MATLAB releases.
Any comments or bug reports would be very appreciated!
v2.0 Fixed bug with reading name file and extension. Now works with scripts. Changed help, comments and variables names.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.