필터 지우기
필터 지우기

Can't open a corrupted .mat

조회 수: 91 (최근 30일)
LEONARDO
LEONARDO 2024년 7월 16일 8:37
답변: Mann Baidi 2024년 7월 22일 7:37
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
DGM
DGM 2024년 7월 16일 9:33
Do you know what is supposed to be in the file? (the number and type of variables)
LEONARDO
LEONARDO 2024년 7월 16일 10:05
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Mann Baidi
Mann Baidi 2024년 7월 22일 7:37
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.

카테고리

Help CenterFile Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by