Using Doxygen with Matlab
Extracts automatically comments from your Matlab .m files using Doxygen to generate documentation
Author: Fabrice

I've been using and enjoying your product. I have a quick question though.
1)I am using Matlab 2007a with only fuctions, i.e., not classes. I cannot get doxygen to create any graphs, either using graphviz or the included graphing library. I'm familiar with doxygen, and was wondering if your product in conjunction with doxygen supports graph generation via function calls alone? I uses a similiar perl script posted somewhere online to convert from .m to .c and it could generate graphs in doxygen. Thank you for your time, the .m is included below, in which no graph is generated (I have graph generation enabled in doxygen and all the setting in expert are correct aslwell I believe).
%> @brief Brief description of the function
%>
%> More detailed description.
%>
%> \latexonly
%> $\bigl(\begin{smallmatrix}
%> a&b\\ c&d
%> \end{smallmatrix} \bigr)$
%> \endlatexonly
%>
%> @param arg1 First argument
%> @param arg2 Second argument
%>
%> @retval out1 return value for the first output variable
%> @retval out2
% ======================================================================
function [out1, out2] = hhh( arg1, arg2)
out1 = arg2;
out2 = arg1;
c = fb(out1);
end

% ======================================================================
%> @brief Brief description of the function
%>
%> More detailed description.
%>
%> \latexonly
%> $\bigl(\begin{smallmatrix}
%> a&b\\ c&d
%> \end{smallmatrix} \bigr)$
%> \endlatexonly
%>
%> @param arg1 First argument
%>
%> @retval out1 return value for the first output variable
% ======================================================================
function [out1] = fb( arg1)
out1 = arg2;
end

2) when I use
/latexonly
/endlatex only
Doxygen commands to put in a matrix in latex, my matrices/equations have the "///" comment denoted for c++, this is not a problem, but if there is an easy fix I'll like to know.