cellstr & strcat matlab inconsistency

Sergei Steshenko sergstesh at yahoo.com
Fri May 23 02:59:11 CDT 2008


--- Jaroslav Hajek <highegg at gmail.com> wrote:

> Hi,
> 
> in current Octave strcat ("", "ab") produces an error instead of the
> obvious desired result.

I am not sure there is an error:

"
sergei at amdam2:/maxtor5/sergei/AppsFromScratchWD> ( GNUTERM=wxt; export GNUTERM;
install/octave-3.0.1/binsh/octave )
GNU Octave, version 3.0.1
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug at octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave:1> strcat ("", "ab")
ans = ab
octave:2>  
"

- IMO it is the desired result.

Regards,
  Sergei.



Applications From Scratch: http://appsfromscratch.berlios.de/


      


More information about the Bug-octave mailing list