Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wfdb2mat.m files corrupt #152

Open
mcgovernr opened this issue Feb 22, 2018 · 6 comments
Open

wfdb2mat.m files corrupt #152

mcgovernr opened this issue Feb 22, 2018 · 6 comments

Comments

@mcgovernr
Copy link

I have been successfully using the MATLAB toolbox for Physionet during the past few weeks. However, I have been unable to access the .mat files generated by the wfdb2mat.m script. The script executes successfully, creating a .mat file and .hea file. However, when I try to open the *.mat file with rdmat.m, MATLAB produces returns the following error:

Unable to read MAT-file C:\MATLAB\MIMIC_WFDB_Workspace\database\mimic3wdb\matched\p00\p000107\p000107-2122-05-14-21-01m.mat. File might be corrupt.

I've tried running the script from various directories on various records with no success. In addition, I can not open the file manually. Any insight would be tremendously helpful.

@rboyer221
Copy link

I'm having the same issue, and actually with the same files it seems (the larger matched waveform files). Did you ever figure out a fix? The data can still be read by rdsamp, but it crashes MATLAB if you try to load or open with rdmat.

@rboyer221
Copy link

Fixed. Message me if you need a copy of the script to resolve this issue.

@SebahattinBabur
Copy link

Fixed. Message me if you need a copy of the script to resolve this issue.

Did you solve this problem? I have the same issue.

@SebahattinBabur
Copy link

I have been successfully using the MATLAB toolbox for Physionet during the past few weeks. However, I have been unable to access the .mat files generated by the wfdb2mat.m script. The script executes successfully, creating a .mat file and .hea file. However, when I try to open the *.mat file with rdmat.m, MATLAB produces returns the following error:

Unable to read MAT-file C:\MATLAB\MIMIC_WFDB_Workspace\database\mimic3wdb\matched\p00\p000107\p000107-2122-05-14-21-01m.mat. File might be corrupt.

I've tried running the script from various directories on various records with no success. In addition, I can not open the file manually. Any insight would be tremendously helpful.

Did you solve this problem? I have the same issue.

@kan777
Copy link

kan777 commented Jul 11, 2021

same issue. Is this problem solved?

@SebahattinBabur
Copy link

SebahattinBabur commented Jul 12, 2021

same issue. Is this problem solved?

No i still have problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants