I'm try to use Doxygen for Matlab-Code with Doxywizard. For this I take a perl-filter from MatlabCentral. I set:
FILTER_PATTERNS = *.m=m2cpp.pl
The script put into the working directory. But Doxygen says:
sh: 1: m2cpp.pl: not found
I move the script around but the message still the same.
Where I have to put the script and how to setup the configuration right?
I had exactly this problem. The shell error you're getting is actually saying "Shell:
m2cpp.pl
, line 1: not found". In other words, the thing that is not being found is on line 1 ofm2cpp.pl
, notm2cpp.pl
itself.Assuming you have the version of
m2cpp.pl
that comes from MatlabCentral you'll probably find the first line is as follows:That is what is not being found, because the Perl executable is not called
perl.exe
on Linux.Calling the script with the interpreter specified in
FILTER_PATTERNS
in your Doxyfile should fix it; i.e.for wherever you have
m2cpp.pl
.(You could also modify the script directly, provided you comply with the licence agreement.)