MIT-LCP / physionet

A collection of tools for working with the PhysioNet repository.
http://physionet.org/
MIT License
69 stars 17 forks source link

rdann error Improper assignment with rectangular empty matrix #101

Open ccnllncc opened 5 years ago

ccnllncc commented 5 years ago

Improper assignment with rectangular empty matrix.

Error in rdann (line 153) ann(n)=C{3};

Error in afdb_test (line 7) [ann,type,subtype,chan,num,comments] = rdann(datapath,'wqrs');

how to use?

jpoprof commented 5 years ago

It would be helpful for others, if you tell us more about your environment. Which language is this code supposed to be? I mean, it looks like Matlab, but are you using it in Matlab or Octave? What contains your variable datapath? Is there an annotation file with the proper name in the proper directory?

jpoprof

ccnllncc commented 5 years ago

Thank you ,I've solved this problem, it caused by version of matlab.

At 2019-03-21 23:48:40, "jpoprof" notifications@github.com wrote:

It would be helpful for others, if you would tell us more about your environment. Which language is this code supposed to be? I mean, it looks like Matlab, but are you using it in Matlab or Octave? What contains your variable datapath? Is there an annotation file with the proper name in the proper directory?

jpoprof

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.