File may be corrupt
3 views (last 30 days)
Show older comments
Hi everyone yesterday I saved some matlab figures to my computer but when I tried to open the figures today, I got this error :
Error using open(line 163) Unable to read MAT-file F:\%directory% File may be corrupt
does anyone know how to fix this error or even extract the data from corrupt files, PLEASE!!
0 Comments
Answers (1)
Walter Roberson
on 19 Dec 2015
Was the error message literally about F:\%directory% ? If so then you used the wrong file name when you attempted to open the file. In MS Windows, % around a name indicates that a shell variable of that name was expected to exist and have its value substituted at that point. You need to be opening a .fig file . You might want to go in to Windows Explorer and ask it to reveal file extensions.
0 Comments
See Also
Categories
Find more on Environment and Settings 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!