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
Cita come
Paul LaFonte (2025). Generate a Tree View / Hierarchy of a MATFILE (https://it.mathworks.com/matlabcentral/fileexchange/52157-generate-a-tree-view-hierarchy-of-a-matfile), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0 |
|
