depeval - check for dependencies

版本 1.1.0.0 (1.5 KB) 作者: Aslak Grinsted
Test if a function will work without access to specific toolboxes
166.0 次下载
更新 2015/1/5

查看许可证

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

引用格式

Aslak Grinsted (2026). depeval - check for dependencies (https://ww2.mathworks.cn/matlabcentral/fileexchange/48824-depeval-check-for-dependencies), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Whos 的更多信息
致谢

参考作品: Get Dependent Files

版本 已发布 发行说明
1.1.0.0

improved help. added screenshot

1.0.0.0