|
From: | Søren Hauberg |
Subject: | Re: wavwrite |
Date: | Tue, 09 Oct 2007 09:57:48 +0200 |
User-agent: | Thunderbird 1.5.0.13 (X11/20070824) |
Schirmacher, Rolf skrev:
We had the same issue with 'imwrite' I believe. The solution is simply to check the type of the input arguments. If the first argument is a string we'll use the current Octave style, but if the last is a string we'll use the Matlab style. It should be a fairly easy change.I just found some incompatibility in between octave an matlab for wavwrite.Octave wants to get the filename first, Matlab last. So we have wavwrite(filename, signal, fs, bits) in Octave andwavwrite(signal, fs, bits, filename) in Matlab. Changing it would be straight forward (as far as I see...), but it would break existing Octave code :-(So, how to proceed?
Could I persuade you to send a patch? Søren
[Prev in Thread] | Current Thread | [Next in Thread] |