title: Unable to read .mat files in lua using matio
body: <p>I am getting an error while reading .mat files in lua using matio.
  Actual code is written here: &quot;https://github.com/hbutsuak95/BASS-Net/blob/master/bass-net_model.lua&quot;.
  I am using:</p>
  <ul>
  <li>Lua Version 5.2</li>
  <li>Installed matio using &quot;sudo apt-get install libmatio2&quot;</li>
  <li>Machine:
  Distributor ID: Ubuntu
  Description:    Ubuntu 16.04.7 LTS
  Release:        16.04
  Codename:       xenial</li>
  <li>Torch 7</li>
  </ul>
  <p>While reading the mat file using <code>matio.load()</code> I am getting segmentation error.
  Please help!</p>