0

When I load a mat file I've previously created in other system, i receive the following message:

Error using ==> load

Unable to read MAT file "..."

File may be corrupt.

Note: The dat file contains NaNs

tshepang
  • 12,111
  • 21
  • 91
  • 136
  • 2
    MAT files do have [version info](http://www.mathworks.com/help/matlab/ref/save.html#inputarg_version) in them, it could be that the file you're trying to read is a newer version than that supported by 6.5.10. – Praetorian Mar 07 '14 at 19:39
  • If a newer version is not available, try octave or pymat to load and save in another version. – Daniel Mar 07 '14 at 19:56
  • What version is the other system running? 6.5 is pretty antique, and 2 generations of `.mat` format behind current versions. Are you saving with the `-v6` option? – Notlikethat Mar 07 '14 at 20:00

0 Answers0