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
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.
For more information on the MAT File Corruption Analysis Tool: https://www.mathworks.com/matlabcentral/fileexchange/6893-matcat-mat-file-corruption-analysis-tool
For more information on "splitmat" and how to deal with corrupted files: https://www.mathworks.com/matlabcentral/answers/98890-how-do-i-recover-data-from-a-corrupt-mat-file#answer_108237
DGM
2024년 7월 16일
Do you know what is supposed to be in the file? (the number and type of variables)
LEONARDO
2024년 7월 16일
답변 (1개)
Mann Baidi
2024년 7월 22일
0 개 추천
HI @LEONARDO
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.
카테고리
도움말 센터 및 File Exchange에서 Data Acquisition Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


