evalf.m v2.0 (Sep, 2009)

Evaluates any function (handle, anonymous, name, full-name) even if not in the MATLAB PATH!
2.6K Downloads
Updated 21 Sep 2009

View License

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)

Just try:
>> 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.

Enjoy it!
Any comments or bug reports would be very appreciated!

Cite As

Carlos Adrian Vargas Aguilera (2024). evalf.m v2.0 (Sep, 2009) (https://www.mathworks.com/matlabcentral/fileexchange/22054-evalf-m-v2-0-sep-2009), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Programming in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

v2.0 Fixed bug with reading name file and extension. Now works with scripts. Changed help, comments and variables names.

1.0.0.0