From bug-octave-request at bevo dot che dot wisc dot edu Fri Jan 23 07:21:21 2004 Subject: Re: cellstr From: David Bateman To: Stefan van der Walt Cc: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 23 Jan 2004 14:17:33 +0100 GNU Octave, version 2.1.53 (i686-pc-linux-gnu). Copyright (C) 2004 John W. Eaton. 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'. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report). octave:1> cellstr({'123'}) panic: Segmentation fault -- stopping myself... attempting to save variables to `octave-core'... save to `octave-core' complete Segmentation fault Yup, still there ...... BTW, your syntax is wrong here, you should be able to use cellstr with something that is already a cell array albiet with a single element. cellstr is for converting char matrices to cell arrays, as in octave:1> cellstr(['123','456']) ans = { [1,1] = 123 [2,1] = 456 } which does give the correct result. So although what you point out is a bug, due to the sig 11, its also a syntax error. D. According to Stefan van der Walt (on 01/23/04): > Under Octave 2.1.50 I have the following strange behavior: > > octave:1> cellstr({'123'}) > panic: Segmentation fault -- stopping myself... > > Is this still present in the current CVS version? > > Regards > Stéfan > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------