Generate help files from m-files

Help files are generated from m-files.
2,5K download
Aggiornato 19 gen 2006

Visualizza la licenza

These functions read the comments from the m-function (or script) marks them up. It is based on Matlab's publish function.

It is also possible to inculde examples and simple LaTeX formulas within the help text.

To create the help file for a single Matlab function call:

To create the help for a single directory use:

To create the help for an entire project (including all subdirectories)
simply execute:

To generate a corresponding index (contents) page try create_index_html.

In case you like a certain words always highlighted or as headings you can easily add them within wg_publish.

- help/documentation in html, latex, doc, ...
- executes Matlab examples and includes them in the help
- includes graphics
- integrates simple formulas
- creates html index
- cross-referencing

I suggest to also use m2html from Guillaume Flandin and
the publish.m (publish_technics.m) function from Mathworks.

This function was only tested under Windows XP.
There are still a lot of formatting issues to do.

To Do: (Status: 18.1.2006)
+ documentation of subfunctions
+ improve formatting
+ hyperlinks to Matlab internal functions
+ extend Matlab/Latex command set
+ include Navigationbars in html documents (like one in the Matlab toolboxes)
+ collect all generated latex or word documents to only one document
+ combine with m2thml

Cita come

Wolfgang Garn (2024). Generate help files from m-files (, MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14SP2
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Scopri di più su Adding custom doc in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release