10

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++ program?

3 Answers 3

10

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.

Sign up to request clarification or add additional context in comments.

1 Comment

An example of using matio is here: na-wiki.csc.kth.se/mediawiki/index.php/MatIO
2

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.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.