"John W. Eaton" <jwe@octave.org> a écrit :
What does your rows function do? That functiioion is widely used in Octave code, so if you replace it with something that does not do the same thing as Octave's rows function, you will cause a lot of trouble for some users. If your rows function does the same thing as Octave's, then I think you should only install it when your code is running in Matlab.
Actually our rows function does the same as Octave's. In the next major release of Dynare we will create specific directories for functions present in Matlab and not in Octave, and vice-versa, to make things clean.
For the current version of Dynare, where everything is in the same directory, it appears simpler to me to simply rename that function. So the package works on both Octave and Matlab out of the box. But I could also implement a Matlab-specific directory in the Debian packaging of the current version, if this seems preferable. And, for table.m, since it doesn't do the same thing than Octave's, we must rename it.
Otherwise thanks for pointing that rcond has been incorporated in development version of Octave, and that mark_as_command will become useless. We will take advantage of it when Octave 3.2 is released.
Best, -- Sébastien Villemot