CORRUPTED MAT FILE

Hello there, I have a corrupted .MAT file (<10 mb) as a resultant of an accidental system reboot. Wish to have the data stored in it as opposed to recompute it over a few days. Could any of you guys help in this regard. Thanks tons in advance. R

回答(2 个)

Jan
Jan 2011-11-2

0 个投票

The fact, that the MAT-file is corrupted, means, that the contents of the file is corrupted. In consequence you cannot reconstruct the contents perfectly. Do you have a backup copy?
Perhaps you could reconstruct some parts of the file. But if the computations are important, repeating them is the best choice. Sorry.
Why do the computations need several days? You can use the profiler to find the most time-consuming part and post it here. Perhaps somebody finds a method to accelerate it.
Ravi C
Ravi C 2011-11-7

0 个投票

Dear Jan, Firstly thanks for taking time to answer my question and sorry for the late response. Yes, I realised that there was no way around retrieving back the lost MAT file except reconstructing it back bit by bit for binary format. However your suggestion on profiling helped me a lot to reduce the computing time by adapting vectorising approach as opposed to my previously used for loops. THanks again.

1 个评论

Sometimes giving up is the best solution. Especially if this is used as a chance for improvements.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

标签

提问:

2011-11-2

Community Treasure Hunt

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

Start Hunting!

Translated by