Reading a 5.0 mat file in c++

Hi :)
How would you recommend me to read the contents of a 5.0 mat-file in c++?
I've found a mat.h file in matlabroot/extern/include, but I couldn't find the library.
I also want to do a personal implementation, but it seems that the mat file contains compressed data. Precisely, after the 128 byte header, there's 0f 00 00 00, which stands for gzip compressed data according to the documentaiton.

Risposte (1)

River Rock
River Rock il 19 Ago 2013

0 voti

The example found in /extern/examples/eng_mat/matdgns.c also generate errors, as I fail to link the static library
Using linux, if that helps

Prodotti

Richiesto:

il 16 Ago 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by