Developed to enable uses to quickly publish directories of code and details of the cross function and global variable dependancies.
Details: Using the freely avalable grep tool this function parses m files in the current directory.
- It will determine all the global variables used by the various files so it is easy to check for overlaps of possible conflicts.
- It will also show which functions (scripts) are called by others and which which function in this directory are called by your code.
- It then makes a html folder and documents subsiquently published code in an index.html file along with links to the published files.
Note: For best results and a valid desciption in index.html, setup your comments like this one (or my matlab RRT project which has a premade html folder) so you will have a valid description on the index.html page. Also name functions the same as the m file they are in.
Gavin (2021). HTML folder +Index.html: Shows function/global dependancies (https://www.mathworks.com/matlabcentral/fileexchange/21476-html-folder-index-html-shows-function-global-dependancies), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!