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

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

[Octave-bug-tracker] [bug #29786] Data file can not be loaded in Octave


From: anonymous
Subject: [Octave-bug-tracker] [bug #29786] Data file can not be loaded in Octave
Date: Wed, 05 May 2010 12:05:44 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.2 (like Gecko)

URL:
  <http://savannah.gnu.org/bugs/?29786>

                 Summary: Data file can not be loaded in Octave
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 05 May 2010 12:05:44 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Tux
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Octave can not load the attached data file (generated in Octave via
save('-v7',mdname,'matchdata');
). Matlab (R2009a) on the other hand is able to do so.


load  voteresults_01.mat in Matlab works. After loading we find the following
data structure:

matchdata = 

1x1256 struct array with fields:
    matchloc1
    matchloc2
    nbmatches
    votecenter
    voteloc1
    voteloc2
    votemat

Note that votemat are sparse matrices.

In Octave (v 3.0.5 and v 3.2.3) I get the following behavior:

>> load voteresults_01.mat
error: load: invalid element type = 96
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 8                        
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 0                        
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 8                        
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 2                        
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 0                        
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 48                       
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 32768                    
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 0                        
error: load: trouble reading binary file `voteresults_01.mat'
error: load: invalid element type = 0                        
error: load: trouble reading binary file `voteresults_01.mat'

etc







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 05 May 2010 12:05:44 PM UTC  Name: voteresults_01.mat  Size: 122kB 
 By: None
Data file that can not be loaded in Octave
<http://savannah.gnu.org/bugs/download.php?file_id=20446>

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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