How to read Unreadable Files!
5 次查看(过去 30 天)
显示 更早的评论
Hi Guys! I have trouble plotting .mat format files. The error message is "Unable to read MAT-file. Not a binary MAT-file. Try load -ASCII to read as text". Is there anyone can help why these files are unreadable and How they can be fixed? knowing, the files are Simulink outputs!
Thanks in advance,
6 个评论
Walter Roberson
2017-12-20
That looks like it might be a real .mat file.
Is it possible that you are trying to load the file with a version of MATLAB older than R2006b ?
You can post the file on Google Drive or Dropbox for people to examine
回答(1 个)
Jan
2017-12-20
编辑:Jan
2017-12-20
I see 2 options:
- This is not the file you try to load. Maybe you are working in a different folder than you expect.
- The file is really damaged. Then it will be impossible to open it. This is the definition of "unreadable". Do you have a backup of the file or can you re-create it?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Low-Level File I/O 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!