Using mat file in C++ program

前端 未结 3 1976
青春惊慌失措
青春惊慌失措 2021-01-04 17:11

Please. Can any one help me ?

I have Mat file include struct of array for features vectors, I need to use this file in C++ program. How can I load this file in my C+

相关标签:
3条回答
  • Modern (since atleast 2006ish) versions of Matlab use the standard HDF5 data format (http://en.m.wikipedia.org/wiki/Hierarchical_Data_Format) so the HDF5 reference library would be a sensible place to start if a more specific solution doesn't work - many language bindings are available.

    0 讨论(0)
  • 2021-01-04 17:51

    Assuming you have MATLAB, you can read the help article on their MAT-file API.

    Otherwise, there are various open source MAT file readers. If necessary, I'm sure someone can locate them for you.

    0 讨论(0)
  • 2021-01-04 17:54

    You could try the matio library. It supports at least up to version 5 mat files (compression and structures I think) and maybe more recent stuff. It seems to be actively developed.

    0 讨论(0)
提交回复
热议问题