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 Center および File ExchangeData Import and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by