example Matlab code that shows how to read files of various data formats