You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Temporarily removes toolboxes from the matlab path and then executes a
statement. Useful for finding the exact location of dependencies.
SYNTAX:
depeval(evalstring,toolbox1,toolbox2,toolbox3,...)
INPUTS:
evalstring: a string containing a statement to evaluate
toolboxN: a string with the name of the toolbox to remove from the path.
EXAMPLE:
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
Cite As
Aslak Grinsted (2026). depeval - check for dependencies (https://www.mathworks.com/matlabcentral/fileexchange/48824-depeval-check-for-dependencies), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Get Dependent Files
General Information
- Version 1.1.0.0 (1.49 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
