Rank: 337083 based on 0 downloads (last 30 days) and 0 file submitted
photo

Bastien

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Bastien View all
Updated File Comments Rating
09 Jul 2011 Using Doxygen with Matlab Extracts automatically comments from your Matlab .m files using Doxygen to generate documentation Author: Fabrice

Fabrice,
thanks again for this wonderful script.

It would be a nice improvement to have some options to be able to hide some information in the documentation:
-> hide the Hidden methods/properties for the public APIs.
-> hide the set.my_property/get.my_property methods in the classes that are useless in the documentation

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

Fabrice,
I have solved the previous package problem modifying the PERL script m2cpp.pl:

at line 42 (after the foreach $my_fic)
$packages = "";
if ($my_fic =~ /^[^\+]*\+(.*)[\/\\].*\.m/g){
$packages = $1.".";
$packages =~ s/[\/\\]\+/\./g;
}

at lines 176 and 180 (when defining $classDef:
replace: $classDef = "class ".$className
by: $classDef = "class ".$package.$className

With this patch, your code will be compatible with the Matlab Packages!

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

Fabrice, thanks for this nice script.

However, is it possible to include support for packages?
For example, if you have:
./+PackageName/ClassName.m
./ChildClassName.m
where ChildClassName < PackageName.ClassName, then the script combined with Doxygen will create 2 different pages for ClassName:
- one for ClassName containing the definitions of all methods and properties
- one for PackageName.ClassName containing no definition at all (just the inheritance relational graph)

Maybe you could use C++ namespaces to solve this bug?
(or maybe Java packages are more suited to implement nested packages like ./+Package1/+Package2/MyClass.m)

thanks a lot in advance if you can help with this!

PS: for those like Cedric who have some troubles with the "< handle" inheritance, you must UPDATE your Doxygen installation :-)

Contact us