Generate report of .m files in html table
This is a simple function that can help you to organize your m-files stored in a directory. It reads the m-files of a given directory, retrieves the help text (using the help() function), and generates a simple html table that contains the list of the m-files along with their size and their description (if any description is found).
Execution example:
createHtmlReport('C:\MATLAB7\work\generateMfilesReport');
This m-file may be useful if you want to create a quick report of your m-files, or if you are lost because you have too many m-files in a directory and limited documentation. Of course, it will be needed to have some help (i.e. comments in the beginning of each function).
Cite As
Theodoros Giannakopoulos (2024). Generate report of .m files in html table (https://www.mathworks.com/matlabcentral/fileexchange/23087-generate-report-of-m-files-in-html-table), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Software Development Tools > Toolbox Distribution > Adding custom doc >
- Reporting and Database Access > MATLAB Report Generator >
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.0.0 |