フィルターのクリア

How to recover corrupted *.mat file data

27 ビュー (過去 30 日間)
Amanda Beatty
Amanda Beatty 2024 年 3 月 1 日
コメント済み: Walter Roberson 2024 年 3 月 2 日
I have 2 *.mat files that each have one table in them. MATLAB keeps telling me they both might be corrupt. I'm not sure why, but my only guess is different people having them open/saving them at the same time? How can I recover the data?
What I've tried:
  1. Shutdown computer and restart in case it's a memory issue
  2. splitmat corruptMATFileName (splitmat isn't recognized) (https://www.mathworks.com/matlabcentral/answers/98890-how-do-i-recover-data-from-a-corrupt-mat-file)
  3. used loadfixnames(): link. ( Error compiling loadfixnames.c )
  4. type(corruptMATFileName). Just produced garbage. (https://www.mathworks.com/matlabcentral/answers/1998783-error-using-load-input-must-be-a-mat-file-or-an-ascii-file-containing-numeric-data-with-same-numbe)
The files are attached. Is the data just lost or is there anything else I can do?

採用された回答

Walter Roberson
Walter Roberson 2024 年 3 月 1 日
Unfortunately those files are not in .mat format and cannot be recovered.
Both files start with the same sequence of 8 bytes, but those does not match any known "magic numbers"
  7 件のコメント
Star Strider
Star Strider 2024 年 3 月 2 日
Thank you!
It would definitely be comforting to have a utility like that! I’ve never heard of it before, and couldn’t find it on an Interweb search. (I keep SD card backups of my important files, however that’s just on my computers.)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by