How to read .apn file in Matlab

14 ビュー (過去 30 日間)
Ullah Nadeem
Ullah Nadeem 2021 年 6 月 16 日
コメント済み: Walter Roberson 2021 年 6 月 16 日
I am trying to open .apn file (as text) of Physionet Apnea ECG dataset in matlab using rdann(-r a01, -a apn) but failed.
The erroe I faced is related "varargin" Please guide
[ann, anntype, subtype, chan, num, comments] = rdann('a01','apn');
Error is: Dot indexing is not supported for variables of this type.
Error in rdann (line 180)
data=dataJava.toArray();
Error in annot (line 19)
[ann, anntype, subtype, chan, num, comments] = rdann('a01.apn','apn');
  2 件のコメント
Walter Roberson
Walter Roberson 2021 年 6 月 16 日
Walter Roberson
Walter Roberson 2021 年 6 月 16 日
The code has
dataJava=javaWfdbExec.execToStringList(wfdb_argument);
data=dataJava.toArray();
but for whatever reason, dataJava is coming out as empty instead of as a Java array.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by