We have done quite a bit of this type of thing, serialising data from a 3D scanner and then reading back into Matlab for analysis.  We did exactly what Diederick suggested, wrote mex files.  We serialise out of the scanner with boost serialisation and unserialise in the mex files with boost serialiation.  Then the problem is really just one of mapping your C++ data structure to an equivalent data structure in Matlab.

 The serialisation part is easy,  the mex interface to matlab however is not so nice.





On Fri, Oct 22, 2010 at 9:29 AM, James C. Sutherland <James.Sutherland@utah.edu> wrote:
I am just looking into the serialization library.  It seems really nice for archiving using C++.

Is there a way to import an archive generated by that library into another language (e.g. matlab)?  I guess that one would need the rules for IO that the serialization archives use?

Thanks,

James

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users