I've now put this on CPAN:
It should install with
cpan Data::MATFile
There is a script in the distribution called "mat2json" which converts a MAT-File into JSON. This means that people who are interested in using this can test the distribution with a ".mat" file. The JSON is not pretty-printed, so something like
mat2json "your.mat" | json_xs
is recommended, and then the output can be examined to see whether it corresponds to the output expected. (json_xs can be replaced with json_pp here.)