How can I read a Matlab cell array stored as a .mat file and having 3*3*2 multidimensional double data into a c/c++ array ?
A:
This doc describes the interface to read and write MAT files in C/C++:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f39876.html#f13830
yuk
2010-01-27 20:16:23
I read the docs but I'm a little confused. How can i import data from the mxarray data structure to a primitive data structure like a multi-dim double array ? can anyone give me a code snippet..
iceman
2010-01-27 20:19:02
I saw the file matdgns.c
iceman
2010-01-27 20:27:31
+1
A:
The MATLAB file format is documented here. Doesn't look too hairy.
Edit: Sorry, the link got corrupted.
P-Nuts
2010-01-27 20:17:29