File Exchange

image thumbnail

depeval - check for dependencies

version (1.49 KB) by Aslak Grinsted
Test if a function will work without access to specific toolboxes

1 Download

Updated 05 Jan 2015

View License

Temporarily removes toolboxes from the matlab path and then executes a
statement. Useful for finding the exact location of dependencies.


evalstring: a string containing a statement to evaluate
toolboxN: a string with the name of the toolbox to remove from the path.

depeval('ezplot(@sin)','images','stats','map'); %test if ezplot(@sin)
works with no access to images,stats, and map toolboxes.

BEWARE: this function temporarily modifies your path. If something fails
you may need to restart matlab.

See also: fdep from the matlab fileexchange.

Aslak Grinsted 2014

Comments and Ratings (0)


improved help. added screenshot

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Get Dependent Files