Generate a Tree View / Hierarchy of a MATFILE

Create a .txt file with a sort list of subfunction called in a MFILE

You are now following this Submission

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 (2026). Generate a Tree View / Hierarchy of a MATFILE (https://nl.mathworks.com/matlabcentral/fileexchange/52157-generate-a-tree-view-hierarchy-of-a-matfile), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0