cellstr & strcat matlab inconsistenc

Jaroslav Hajek highegg at gmail.com
Fri May 23 03:20:31 CDT 2008


> octave:1> strcat ("", "ab")
> ans = ab
> octave:2>
> "
>
> - IMO it is the desired result.
>

This patch applies to development sources. It seems that changeset
7608 (a rewrite of strcat) was not applied to release branch,
therefore you have the old strcat (now cstrcat).
Try cellstr ('') instead, it should give you empty cell array (it
gives {''} in Matlab).

regards,

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Bug-octave mailing list