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!!

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 12 月 19 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

タグ

質問済み:

2015 年 12 月 19 日

回答済み:

2015 年 12 月 19 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by