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

7 ビュー (過去 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 Center および File ExchangeDebugging and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by