Can't open a corrupted .mat

I can't open a .mat, which is from Simulink (we were measuring the speed of a motor with an acquisition board). When i doubleclick on, it gives me the following error : "Input must be a MAT-file or an ASCII file containing numeric data with same number of columns in each row."
Thanks in advance.

3 Comments

Divyam
Divyam on 16 Jul 2024
Edited: Divyam on 16 Jul 2024
Hi Leonardo, I used the MAT File Corruption Analysis Tool on the corrupted file and the integrity test for the MAT file completely failed. I don't think that any data is recoverable since there are no uncorrupted variables which I could find using the "whos" or the "splitmat" file. Try to recreate the file or download it again.
Do you know what is supposed to be in the file? (the number and type of variables)
Yes, so this is a very similar to the corrupted one (by the way there's the .mat too if you want to analyse):
The most important thing to recover is the second one, because the first is only a step reference.
If i click on that "1x1 Signal", this is his structure
And if I click on "values" this is how the data is stored. One column for the time and one for the readings.

Sign in to comment.

Answers (1)

Mann Baidi
Mann Baidi on 22 Jul 2024
I tried many ways trying to open file. But unfortunately, I was unable to open it. However, the reason behind the file being corrupted can be as mentioned in comment in the following link.
Therefore, it is not possible to read the data from the file.

Categories

Products

Asked:

on 16 Jul 2024

Answered:

on 22 Jul 2024

Community Treasure Hunt

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

Start Hunting!