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

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

[Octave-bug-tracker] [bug #42112] Unable to load Java objects from MAT f


From: Ben Kurtz
Subject: [Octave-bug-tracker] [bug #42112] Unable to load Java objects from MAT file
Date: Mon, 14 Apr 2014 05:29:40 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/6.1.3 Safari/537.75.14

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

                 Summary: Unable to load Java objects from MAT file
                 Project: GNU Octave
            Submitted by: bkurtz
            Submitted on: Mon 14 Apr 2014 05:29:39 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

I have a file created in matlab as follows

> x = java.io.File('/usr/local/bin');
> save('/tmp/file.mat')


When I try to load this file into octave, I get the following results:

octave:1> load('/tmp/file.mat')
octave:2> x
x =

  scalar structure containing the fields:

    java =

error: octave_base_value::print (): wrong type argument `<unknown type>'

    java.io.File =

error: octave_base_value::print (): wrong type argument `<unknown type>'


It seems that octave doesn't quite understand matlab's file format for
embedding java objects in .mat files.  I _am_ able to create java objects
directly in octave, so _I think_ it's not just a problem with my octave/java
install.

I'd be happy to look into fixing this, but I'd very much appreciate if someone
could give me a pointer in the right direction - octave's codebase is very
large and last time I looked for this I was having a lot of trouble tracking
down the right place to work.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 14 Apr 2014 05:29:39 AM GMT  Name: file.mat  Size: 418B   By: bkurtz

<http://savannah.gnu.org/bugs/download.php?file_id=31167>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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