Generate report of .m files in html table

Generates a report of the m-files in a given directory. Results are stored in an html file.

You are now following this Submission

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 (2026). 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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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