Generate a Tree View / Hierarchy of a MATFILE

Version 1.0 (1.88 KB) by Paul LaFonte
Create a .txt file with a sort list of subfunction called in a MFILE
180 Downloads
Updated 15 Jul 2015

View License

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 (2024). 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
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0