help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in 2.1.57 using save/load -mat-binary


From: David Bateman
Subject: Re: bug in 2.1.57 using save/load -mat-binary
Date: Thu, 25 Nov 2004 09:31:55 +0100
User-agent: Mutt/1.4.1i

According to address@hidden <address@hidden> (on 11/25/04):
> Hi Daniel
> You forgot to tell octave what you are saving.
> Replace your command with 
> " save -mat-binary crap.mat m234567890123456789012345678901234567890"
> And everythingeill check allright.

No, Matlab variable names are truncated to 32 characters, independent of
whether they are saved or not. Octave always arbitrary length names... There
under matlab you have

m234567890123456789012345678901234567890=1

m234567890123456789012345678901 =

     1

>> save crap m234567890123456789012345678901234567890
>> clear all
>> load crap
>> whos
  Name                                  Size           Bytes  Class

  m234567890123456789012345678901       1x1                8  double array

Grand total is 1 elements using 8 bytes

>> m234567890123456789012345678901234567890

m234567890123456789012345678901 =

     1

>> m234567890123456789012345678901

m234567890123456789012345678901 =

     1

This is the reason for the issue. Send a bug report to mathworks, this has
nothing to do with octave...

Regards
David

-- 
David Bateman                                address@hidden
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]