try to read the mat file