On Fri, Oct 22, 2010 at 3:08 PM, Robert Valkenburg
<rj.valkenburg@gmail.com> wrote:
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.
Would you be willing to share (on-list or off-list) some of the code that you wrote to make this happen? I haven't done much with mex and frankly dread the thought. It would be great it I had an example to work from...
Thanks,
James