New module to read a MATLAB .mat file into Perl
Data::MATFile is a Perl module to read the MATLAB MAT-File format.
The module can be found at https://metacpan.org/release/Data-MATFile and http://search.cpan.org/~bkb/Data-MATFile-0.01/. This is a preliminary release for testing and evaluation. It is also on PrePAN and github.
The module includes a script "mat2json" which can be used to convert a MAT-File into JSON. People wishing to evaluate the module for their use may find this a convenient aid:
mat2json "some.mat" | json_xs
I blog about Perl.
Leave a comment