How can I generate a list of function dependencies in MATLAB?

后端 未结 2 1613
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 02:42

In order to distribute a function I\'ve written that depends on other functions I\'ve written that have their own dependencies and so on without distributing every m-file I

2条回答
  •  离开以前
    2020-11-30 02:57

    For MATLAB 2015a and later you should preferably look at matlab.codetools.requiredFilesAndProducts

    or doc matlab.codetools.requiredFilesAndProducts

    because depfun is marked to be removed in a future release.

提交回复
热议问题