edf to Matlab conversion?
Show older comments
I need to convert edf to Matlab. I have tried to use edfRead. The function call is
function [hdr, record] = edfread('aesa1.edf')
But I get the following error message:
Error: File: edfread.m Line: 1 Column: 34 Unexpected MATLAB expression.
Can you help me?
1 Comment
Oddur Bjarnason
on 21 Jul 2017
Answers (1)
Harsh
on 21 Jul 2017
0 votes
https://www.mathworks.com/matlabcentral/fileexchange/31900-edfread From the link above, I was able to download and run the function on a sample file from http://www.physionet.org/physiobank/database/adfecgdb/r01.edf such as [hdr,datastream] = edfread('r01.edf').
It's possible that the file is corrupted or has been modified in some way. Try to run it with a new install of the function. As this is a file exchange submission, it is best to reach out to the author should this issue persist.
1 Comment
Oddur Bjarnason
on 21 Jul 2017
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!