Reading a 5.0 mat file in c++

2 次查看(过去 30 天)
River Rock
River Rock 2013-8-16
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
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

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by