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

13 次查看(过去 30 天)
%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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by