Bug in dlmwrite.m (patch attached)

David Bateman David.Bateman at motorola.com
Mon Jun 23 07:02:26 CDT 2008


Jaroslav Hajek wrote:
> On Mon, Jun 23, 2008 at 1:50 PM, David Bateman
> <David.Bateman at motorola.com> wrote:
>   
>> Jaroslav Hajek wrote:
>>     
>>> On Mon, Jun 23, 2008 at 12:35 PM, Matt Foster <matt.p.foster at gmail.com> wrote:
>>>
>>>       
>>>> Hi,
>>>>
>>>> I found a small bug in octave-forge's dlmwrite.m, whereby it wouldn't accept
>>>> 'delim', as an option.
>>>> I've made a patch against SVN head, and it's attached.
>>>>
>>>> Please let me known If i should send this elsewhere.
>>>>
>>>>
>>>>         
>>> OctaveForge has a mailing list of its own: <octave-dev at lists.sf.net>.
>>> I've applied your patch.
>>>
>>> regards
>>>
>>>
>>>
>>>       
>> But dlmwrite was imported into Octave 3.1.x so sending it to
>> bug at octave.org is also reasonable.. However, looking at
>>
>> http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/dlmwrite.html
>>
>> "delim" is not documented as a valid option to dlmwrite for matlab and
>> so I don't see this as compatibility issue. Sure we might accept "delim"
>> as well, but is it necessary?
>>
>>     
>
> Hm, I see I was too rush. Based on the fact that OP identified this as
> a "bug", I thought this was a missing documented Matlab feature. Sigh.
> Nevertheless, given that dlmwrite was taken into Octave (which I
> forgot), the OctaveForge version should probably be removed as soon as
> it is first released in Octave.
>
>   
>
cf.

http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/TODO?revision=HEAD&view=markup

where it states

<quote>
When transitioning to Octave 3.1
================================
* Remove the functions gtext, ginput, waitforbuttonpress, hex2num, num2hex,
dlmread, dlmwrite, csvread, csvwrite
* Remove dependency of ga on miscellaneous
</quote>

D.

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Bug-octave mailing list