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

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

[Octave-bug-tracker] [bug #38870] load reads stochastic data from MAT -f


From: anonymous
Subject: [Octave-bug-tracker] [bug #38870] load reads stochastic data from MAT -file
Date: Sun, 05 May 2013 19:55:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #12, bug #38870 (project octave):

I wrote a patch which basically communicates back whether the data is actually
written in small data element format or not when reading a tag. That
information is then used to handle padding. I.e., the patch does not assume
that all small data elements are written as small data elements. I didn't
change the write part so there is now READ_PAD (which takes the info of
whether small element format is used) and PAD (the original).

This works correctly with both results.mat, results2.mat and Octave save +
loads for matrices, cells containing stuff, char-arrays and sparse matrices. I
didn't test objects, functions nor workspaces or different types (which int
and float/double) of storage - just how Octave decided to store my tries. Is
there a set of .mat -files which have been used in testing?

The mercurial changeset is included. Is there a correct way to get it forward?

(file #28025)
    _______________________________________________________

Additional Item Attachment:

File name: bug38870                       Size:11 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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