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: Thu, 24 Apr 2014 16:33:30 +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

Follow-up Comment #3, bug #42112 (project octave):

That makes sense.  I've not had nearly as much time to work on this as I'd
been hoping, but I have made some progress (namely, I've made considerable
progress at dissecting the file format that MATLAB uses for java objects) but
I haven't really gotten the chance to start writing code yet.  The good news
is that it looks like matlab just asks the java object for a serialization of
itself, and then stores that binary data in the .mat file in a particular
way.

Also thanks for your explanation; I was having some trouble figuring out how
exactly that was supposed to work (I think my issue was partly that I created
the octave_java::load_binary function and it wasn't getting called).  Can you
clarify a little more about how the save_binary/load_binary functions are
supposed to interact with the functions in (for example)
libinterp/corefcn/ls-mat5.cc?

And then, at some point I guess we'd have to figure out how/if it makes sense
to save java objects to an ascii file...

    _______________________________________________________

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]