[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in 2.1.57 using save/load -mat-binary
From: |
mavram |
Subject: |
Re: bug in 2.1.57 using save/load -mat-binary |
Date: |
Thu, 25 Nov 2004 07:19:14 +0200 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Wed, Nov 24, 2004 at 03:54:04AM -0600, Daniel Heiserer wrote:
> Hi,
>
> >version
> ans = 2.1.57
>
> seems to be not able to save data correctly if the name is longer then
> 32 characters. If the data is reread into octave the name is truncated
> to 32 characters.
> "-mat4-binary" as well as the octave file format seem to work.
>
> best regards daniel
>
>
> octave:13> m234567890123456789012345678901234567890=1
> m234567890123456789012345678901234567890 = 1
> octave:14> save -mat-binary crap.mat
> octave:15> clear
> octave:16> load crap.mat
> octave:17> whos
>
> *** currently compiled functions:
>
> prot type rows cols name
> ==== ==== ==== ==== ====
> rwd user-defined function - - version
>
> *** local user variables:
>
> prot type rows cols name
> ==== ==== ==== ==== ====
> rwd scalar 1 1
> m234567890123456789012345678901
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
>
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.
octave 2.1.57 on debian testing
Cheers, Avraham
-------------------------------------------------------------
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
-------------------------------------------------------------