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.

回答(1 个)

River Rock
River Rock 2013-8-19

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Call C++ from MATLAB 的更多信息

产品

提问:

2013-8-16

Community Treasure Hunt

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

Start Hunting!

Translated by