When i am trying to use "ecgpuwave" class of "WFDB" to detect p-waves and got following error. How to solve this issue?

1 view (last 30 days)
%Code
ecgpuwave('A00001','test');
[tm,signal]=rdsamp('A00001');
pwaves=rdann('A00001','test',[],[],[],'p');
plot(tm,signal(:,1));hold on;grid on
plot(tm(pwaves),signal(pwaves),'or'
%Error massage (in popup window)
WFDB Library Error:
"getann: unexpected EOF in annotator test"
%Error massage (in command window)
Error using rdann (line 172)
Java exception occurred:
java.lang.NullPointerException

Answers (0)

Categories

Find more on Event Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!