File Exchange

image thumbnail

Automatische Dokumentation Matlab-Quellcodes Automatic Documentation Matlab source codes

version 1.0 (2.27 KB) by

Automatische Dokumentation Matlab-Quellcodes Automatic Documentation Matlab source codes

2 Downloads

Updated

View License

Description: This is a small example of how to use the toolbox to generate m2html documentation on projects written in Matlab.
To do the following procedure:
1. Download the m2html Toolbox from:
http://www.artefact.tk/software/matlab/m2html/m2html.zip
2. Download the Graphviz from:
http://www.graphviz.org/
3. Unpack m2html toolbox and add to setpath in Matlab
4. Install Graphviz
5. Copy the example in the m2html toolbox, and run this line:
m2html('mfiles','proyecto','htmldir','proyecto/docu','recursive','on','global','on','save','on','todo','on','template','blue','graph','on');
5. The documentation will created on a internal folder called docu.
Viel glueck....

Comments and Ratings (4)

Thomas

Thomas (view profile)

Just to complete my question below : In fact I cannot generate the dependency graph. Which is empty with the demo.m example. Here the only error message I am getting during the execution

In template/set (line 104)
In m2html (line 881)
Creating dependency graph proyecto\docu2\proyecto\graph.dot...Warning: NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK instead.
> In mdot (line 21)
In m2html (line 921)
'"dot"' is not recognized as an internal or external command,
operable program or batch file.

Thomas

Thomas (view profile)

Hello, I am really interest into this but cannot get it to work. Can someone share an example on how to generate flow chart from .m files

Juan

Juan (view profile)

MATLAB Release
MATLAB 7.11 (R2010b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video