File Exchange

image thumbnail


version 2.01 (7.76 KB) by Kim Dohyun
Generate and display dependency tree with a highlight


Updated 11 Feb 2019

GitHub view license on GitHub

Generate dependency tree of given folder and display

genDep(directory) generate dependency tree in digraph form and store it in /.dependency/G.mat

If the directory is not given, the directory is set to the current folder.

dispDep(G) or dispDep(directory) displays the dependency tree by using the graph plot.

Here, G is digraph and directory is the directory name.

If the input is not given, display the current folder's dependency tree.

Resulting plot has the following functionalities.
1. Highlight selected file and its children, parents. (click a node. highlighting multiple files is also possible by shift+left click.)
2. Extract and export subproject (control+left click). After typing in the directory name for the new project, all selected files will be copied to the given directory name.

Cite As

Kim Dohyun (2019). dependency_matlab (, GitHub. Retrieved .

Comments and Ratings (0)



bug fix for old matlab


1. Nodes have a different color when the folder is different.
2. When the legend is clicked, node size of the nodes in the selected folder increases. (click any blank in figure will dehighlight)


minor bugfixes

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux