Matlab: how to find functions on path that use a given function

前端 未结 4 1024
情话喂你
情话喂你 2021-02-08 08:51

It sometimes happens that I need to change the behavior of a function. Is there an easy way to find functions (on the matlab path) that use that function?

4条回答
  •  离开以前
    2021-02-08 09:25

    Start with help deprpt.

    EDIT: when I run a dependency report there are 3 checkboxes at the top of the report window. One of these, by default unchecked, is called 'Show parent functions (current folder only)'. That is probably the beginning of what you want but it only works in a single folder.

    If you want more than that, I suggest that you try edit deprpt.m.

提交回复
热议问题