- Check the file format: Make sure that the edf file you are trying to read is in the correct format. EDF files have specific requirements for formatting and data content, so it is important to ensure that your file meets these requirements.
- Check for missing data: Make sure that the edf file you are trying to read contains all the necessary data. If any data is missing or corrupted, it could cause the function to fail.
- Check for errors in the input arguments: Double check that all the input arguments you are passing to the edfread function are correct and in the expected format.
- Try a different version of the function: If none of the above steps work, try using a different version of the edfread function. There may be compatibility issues with your current version of the function and the edf file you are trying to read.
error in edfread - Expected input to be integer-valued.
11 次查看(过去 30 天)
显示 更早的评论
Hi,
I have created an edf file but when I try to read it, I get this error message:
Error using edfread
Expected input to be integer-valued.
Error in signal.internal.edf.validateEDF (line 43)
validateattributes(numSamples, {'numeric'}, {'integer'}, mfile);
Error in edfread (line 113)
signal.internal.edf.validateEDF(filename, fileInfo, version, startDate, startTime,...
Can anybody help please?
0 个评论
回答(1 个)
Shubham
2023-3-8
Hi Luisa,
The error message you are receiving suggests that the edfread function is expecting an integer value as input, but it is not receiving one. This could be due to a variety of reasons, including incorrect formatting or missing data in the file you are trying to read. Here are a few steps you can take to try to resolve the issue:
If you are still having issues, please provide more information about the edf file and the specific code you are using to read it so that I can help you better.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 EEG/MEG/ECoG 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!