ikarosilva / wfdb-app-toolbox

The WFDB Toolbox for MATLAB/Octave is a collection of functions for reading, writing, and processing physiologic signals in the formats used by PhysioNet (see README for details).
http://physionet.org/physiotools/matlab/wfdb-app-matlab/
GNU General Public License v3.0
92 stars 46 forks source link

Index exceeds matrix dimensions when using wfdb2mat command. #153

Closed samitha9125 closed 6 years ago

samitha9125 commented 6 years ago

Hello,

I'm about to download few hundreds of files from PhysioBank and as PhysioBank ATM generates code to use wfdb2mat command to create files and store on my pc, I ran automatically generated code from physioBank ATM.

wfdb2mat -r ptbdb/patient003/s0017lre -f 0 -t 115.200 -l s1000000 -s 1 >s0017lrem.info

But when I run that code, MatLab says "Index exceeds matrix dimensions." Error specifically is,

wfdb2mat -r ptbdb/patient003/s0017lre -f 0 -t 115.200 -l s1000000 -s 1 >s0017lrem.info Index exceeds matrix dimensions.

Error in wfdb2mat (line 65) eval([inputs{n} '=varargin{n};'])

I tried to run different codes from PhysioBank and still have the same error. Any ideas? Please help. My Matlab version is Matlab R2015b. Thank you.