File Exchange

image thumbnail

dependency_matlab

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

8 Downloads

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 (https://www.github.com/dohyun-cse/dependency_matlab), GitHub. Retrieved .

Comments and Ratings (0)

Updates

2.01

bug fix for old matlab

2.00

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)

1.01

minor bugfixes

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor