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

조회 수: 6 (최근 30일)
Mohamed Abdalmoaty
Mohamed Abdalmoaty 2015년 6월 27일
편집: Walter Roberson 2015년 6월 28일
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에서 Debugging and Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by