This somewhat larger project allows to create comprehensive documentation for MatLab files and classes (including packages) using a doxygen filter named mtoc++.
Moreover, a tool/class named MatlabDocMaker allows to create the documentation from within MatLab.
For Windows and Unix!
Rough feature list:
- Supports classes and packages
- Also @folders for classes
- Abstract & Static methods
- Special tags "@type" and "@default" for method parameters and return values for more expressive documentation
- Automatic detection of used fields and appropriate documentation
- Default documentation for methods, parameters, return values etc
- detection of getter & setter methods
- included latex support and shortcuts for higher readability in plain text (e.g. `\sqrt{x}` is like @f$\sqrt{x}@f$)
- support for MatLab events
- much more...
The complete documentation can be found at http://www.morepas.org/software/mtocpp/docs/index.html, but is also included in the download. Detailed instructions for installation and configuration can be found therein, however, here are the basic steps needed to get started:
# Installation
# Unix:
- download & unzip in a folder.
- Create a build folder inside and change to that dir
- Run "cmake .." and "make"
- then "mtocpp" and "mtocpp_post" are inside the folder, the documentation in "/docs"
# Windows:
As we cannot provide the binaries through the FileExchange platform, please go to the download page http://www.morepas.org/software/mtocpp/docs/download.html and obtain them from there.
# Setup the DocMaker
- Place the MatlabDocMaker.m in your project's MatLab path
- Copy the contents of the <mtoc++-source-dir>/tools/config folder into e.g. a subfolder of your MatLab project
- place binaries (win or unix) on PATH environment or inside the folder created in the last step
- Call the MatlabDocMaker.setup method and use the folder from the previous steps as your "documentation configuration files directory".
- Use the MatlabDocMaker.create method to create your documentation!
We welcome any improvement suggestions and critics. |