thanks a lot for this great tool. I recently used it in a project on the windows platform and was very happy with it. However, I will now do a project on a linux platform and unfortunately I get parse error during post processing. I have boiled it down to the following:
My test m-file is very simple:
c = a+b;
and when I run MatlabDocMaker.create, I get the following error in warnings.log
mtoc++ postprocessor messages:
/home/widhe/git/solar/matlab/qrt_toolbox/doc/foo_8m.html: PARSE ERROR
< matlabtypesubstitute, c > </td><td class="memItemRight" valign="bottom"><a class="e
If I remove the return value like this:
c = a+b;
everything works as expected.
I have also tried to run the failing m-code on windows without any problems (exactly the same configuration files etc), which leads me to think this is a linux problem.
I compiled according to the instructions on http://www.morepas.org/software/mtocpp/docs/install.html. During make install I get similar parse errors (I think the documentation is build using mtocpp during make install, is that correct?). Anyway, after make install, make test seems to work:
widhe@fluffy:build$ make test
Test project /home/widhe/install/mtoc++/mtoc++_1.5/build
Start 1: MTOCPP_TEST
1/2 Test #1: MTOCPP_TEST ...................... Passed 0.11 sec
Start 2: MTOCPP_DOXYTEST
2/2 Test #2: MTOCPP_DOXYTEST .................. Passed 0.03 sec
100% tests passed, 0 tests failed out of 2
Total Test time (real) = 0.14 sec
I'm running ubuntu server 12.04
mtoc++ version 1.5
doxygen version 1.8.7
ragel version 6.7
gcc version 4.6.3
Any help greatly appreciated!
Works nicely, but i did find a bug:
an exactly vertical arrow (from [0 0 0] to [0 0 1]) is plotted with a length of ~16 reaching far in the negative z-domain. Just type in
arrow([0 0 0],[0 0 1])
Does someone know a solution to this?
with kind regards,