Install MATIO module for Torch7

What is MATIO?

It is basically consist of two words, MAT and IO. MAT is MATLAB and IO is input-output.

Basic Installation is via luarocks. i.e. luarocks install matio

But this ain’t working on my system (may be due to not having sudo permission).

The error I was getting was regarding luamatio.so not found. It is not building that file.

Anyway I figure another way to install.

 

  1. Download matio (http://sourceforge.NET/projects/matio/)
  2.  tar zxf matio-X.Y.Z.tar.gz
  3. cd matio-X.Y.Z
  4. ./configure
  5. make
  6. make check
  7. make install
  8. ldconfig

Leave a Reply

Your email address will not be published. Required fields are marked *