Generate a Tree View / Hierarchy of a MATFILE
Create a .txt file with a sort list of subfunction called in a MFILE
Description:
The file create_TreeView.zip includes 2 MATLAB functions :
- 1) write_function_TreeView_txt ( Input_Mfile , soft )
- 2) [Tree,Sub_fct_nb] = create_function_TreeView ( Input_Mfile, soft )
To get the TreeView in a .txt file, execute the first function.
To get the TreeView in a cell array, execute the second function.
Inputs :
- Input_Mfile : String with name file to explore (ex : 'MFile.m')
- soft : Must be 0 or 1 (for a soft writting)
Outputs :
1) - No output, but a .txt file in created in the current folder
2) - Tree : a cell array with all the sorted subfunctions
- Sub_fct_nb : size of the cell array
Cite As
Paul LaFonte (2025). Generate a Tree View / Hierarchy of a MATFILE (https://www.mathworks.com/matlabcentral/fileexchange/52157-generate-a-tree-view-hierarchy-of-a-matfile), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0 |
|