cellstr & strcat matlab inconsistency

Jaroslav Hajek highegg at gmail.com
Thu May 22 23:29:37 CDT 2008


Hi,

in current Octave strcat ("", "ab") produces an error instead of the
obvious desired result.
The problem can be fixed by having cellstr ('') producing {''} instead
of {}, which is also consistent with Matlab.
Attached is the change plus a test in strcat.m

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cellstr.diff
Type: text/x-patch
Size: 1830 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080523/c4e0fb00/attachment.bin 


More information about the Bug-octave mailing list