From bug-octave-request at bevo dot che dot wisc dot edu Sat Jan 31 21:28:33 2004 Subject: Re: bug in load-save.cc in 2.1.53 From: David Bateman To: Luke Sjulson Cc: bug-octave at bevo dot che dot wisc dot edu Date: Sun, 1 Feb 2004 04:25:44 +0100 There were lots of changes to the load/save support between 2.1.52 and 2.1.53. However, these affacted the HDF5, octave ascii and binary formats, and should not have affected at all the matlab formats. So I don't see how these changes could be the cause of the problem. As I'm away at the moment and have no access to matlab I can't even test the issue. In any case can you tell me whether it is a matlab ascii or binary format that shows the problem... D. According to Luke Sjulson (on 01/30/04): > hello, > > I was having problems loading in a .mat file from matlab that has a > structure in it in 2.1.53. Interestingly, this works in 2.1.52. If, > in matlab, you do the following commands: > > wotan(1).walyz = 1; > wotan(2).walyz = 2; > wotan(1).kill = 1; > wotan(2).kill = 2; > save wotan wotan > > and then try to load wotan.mat in octave 2.1.53, you get > > error: invalid structure assignment > > but it works in octave 2.1.52. I don't know if this is exactly a "bug" > or not, but it is a matlab incompatibility. I suspect the fix is > pretty trivial, but I'm not so good at c++ so hopefully someone can > figure it out. > > btw, does anyone know how to shut off the matlab incompatibility > warnings you get in 2.1.53 when you run octave --traditional? > > thanks a lot, > > -- > Lucas L. Sjulson > Cornell/Rockefeller/Sloan-Kettering MD/PhD Program > Laboratory of Neural Systems (Miesenboeck Lab) > Department of Structural Biology > Memorial Sloan-Kettering Cancer Center > 1275 York Avenue, Box 205 > New York, NY 10021 > tel: 212-639-5135 > fax: 212-794-6236 > > > > ------------------------------------------------------------- > 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 -------------------------------------------------------------