필터 지우기
필터 지우기

error in edfread - Expected input to be integer-valued.

조회 수: 12 (최근 30일)
Luisa de Vivo
Luisa de Vivo 2023년 1월 20일
답변: Shubham 2023년 3월 8일
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?

답변 (1개)

Shubham
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:
  1. 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.
  2. 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.
  3. 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.
  4. 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.
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.

카테고리

Help CenterFile Exchange에서 Biomedical Signal Processing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by