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

13 views (last 30 days)
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!

Answers (1)

Guillaume
Guillaume on 27 Jun 2015
Edited: Guillaume on 27 Jun 2015
Have a look at depfun or its newish replacement matlab.codetools.requiredFilesAndProducts.

Categories

Find more on Search Path in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!