xtensor-io icon indicating copy to clipboard operation
xtensor-io copied to clipboard

Add support for Matlab .mat files

Open wolfv opened this issue 7 years ago • 4 comments

We can use libmatio and base off of @massich s work of packaging it for conda.

wolfv avatar May 24 '18 11:05 wolfv

Huge :+1: on this.

SylvainCorlay avatar May 24 '18 12:05 SylvainCorlay

Cool!!

We just start working on shipping https://github.com/massich/matio-cmake through my conda channel until I get a better handle on this conda business. Right now I'm fighting the windows shipping.

matio-cmake builds libmatio properly, but the testsuit does not build properly in windows. See this https://github.com/massich/matio-cmake/pull/2 and the associated issue in https://github.com/tbeu/matio/issues/84

massich avatar May 24 '18 14:05 massich

A naive question, but I thought that Matlab now uses HDF5?

tdegeus avatar Nov 11 '18 14:11 tdegeus

I don't know a great deal about the .mat specification, but I initially also thought it might just be a simple format. But then I looked at matio (https://github.com/tbeu/matio) and it seems to be a crazy mess :) But it's true that they switched to HDF5 of some sort in the more recent version, which means that HDF5 needs to be linked into matio for full format support.

wolfv avatar Nov 16 '18 08:11 wolfv