octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #32090] Save in MATLAB data format


From: David Bateman
Subject: [Octave-bug-tracker] [bug #32090] Save in MATLAB data format
Date: Tue, 11 Jan 2011 22:36:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Update of bug #32090 (project octave):

                  Status:                    None => Need Info              
             Assigned to:                    None => dbateman               

    _______________________________________________________

Follow-up Comment #1:

I think I see the issue. Octave recently changed so that you could create a
sparse matrix and then fill it without reallocating memory at each assignment,
and as a result removed the assumption that nnz = nzmax in octave. Changes
were made in a number of places to handle this change, but the matlab file
format in this case was unclear from the documentation and I made a guess on
how matlab treated the case of nnz not equaling nzmax (as I no longer have
access to matlab) it appears that this guess was wrong.

The simpler example

a = spalloc (2,2,4); s(1,1) = 1; s(2,2) = 2;
b = 1;
save -v6 a.mat a b

demonstrates this error more easily.. To make my life easier could you run
the above in matlab and upload the saved file so I can compare what matlab
does in this case.

D.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32090>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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