Error while converting a .mat file into ascii using Mat2Ascii function
6 views (last 30 days)
Show older comments
Hello, I would like to read a .mat file. I used Load it generate an error 'File might be corrupt.', so I though about using Mat2ascii function but unfortunatelly I have this error 'Mat2Ascii.p was generated prior to MATLAB version 7.5 (R2007b) and is no longer supported.'. Anyone can help me read or extract the data from the .mat !! (knowing that I have tried textscan, load, importdata but no good results were obtained). Thank you!
1 Comment
Answers (3)
Ano
on 7 Nov 2016
1 Comment
Walter Roberson
on 7 Nov 2016
A representative .mat file would help me figure out which .mat file format you are dealing with, and the kind of corruption that has happened.
For example, there is no way to recover a .mat file if you have saved your Bingo score sheets on top of them, so addressing the general task of being able to recover any and all corrupt .mat files is futile.
Ano
on 7 Nov 2016
6 Comments
Walter Roberson
on 7 Nov 2016
It appears that the variable name is too long to be valid for the -v file type -- it is showing up in the file as 3B1952DF82A67996105A1A89FD86150A which longer than the 19 permitted. Also it appears to start with a digit, which would not be valid.
It might be possible to extract some information from the file, but it is certainly not a valid .mat file.
See Also
Categories
Find more on Variables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!