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
93 stars 46 forks source link

WFDBDESC cannot parser records with comma in Comments #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
tm, signal]=rdsamp('ctu-uhb-ctgdb/1001');
Subscript indices must either be real positive integers or logicals.

Error in wfdbdesc (line 123)
        siginfo(ind).SignalIndex=C{2};

Error in rdsamp (line 121)
    [siginfo,~]=wfdbdesc(recordName);

*This seems to be because the parsing is done  a comma separated list, which 
breaks in the condition above. As alternative users can use WFD2MAT/RDMAT 
instead:

wfdb2mat('ctu-uhb-ctgdb/1001');
[tm,sg]=rdmat('1001m');

Original issue reported on code.google.com by ikarosil...@gmail.com on 11 Feb 2015 at 4:26

GoogleCodeExporter commented 9 years ago
When I use these code lines in the command appears this error:

Error using rdmat (line 79)
Could not open file: 1010m.hea !

Original comment by ange90....@gmail.com on 5 Mar 2015 at 10:44