how to check that all called functions exist in the path?

7 次查看(过去 30 天)
I coded my simulation in an m file in which I call many other functions that I also wrote. Each function also calls several other functions.
Is there a way to check that all the needed functions and subfunctions are in the current directory of the m file? I need to do this without running the code *since it would take long time to run!

回答(1 个)

Guillaume
Guillaume 2015-6-27
编辑:Guillaume 2015-6-27
Have a look at depfun or its newish replacement matlab.codetools.requiredFilesAndProducts.

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by