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).
For debugging, it's useful to be able to change the log level at any time (i.e., after wfdbloadlib has already been called.)
Before:
octave:1> wfdbloadlib
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled [...]
octave:2> wfdbloadlib(2) % this has no effect!
octave:3> [x,y]=rdann('xxxxx','atr')
error: [java] java.lang.ArrayIndexOutOfBoundsException
error: called from
rdann at line 188 column 8
After:
octave:1> wfdbloadlib
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled [...]
octave:2> wfdbloadlib(2) % change log level to 2 so we get some useful output
octave:3> [x,y]=rdann('xxxxx','atr')
Jan 12, 2022 3:11:11 PM org.physionet.wfdb.ErrorReader run
WARNING: init: can't open header for record xxxxx
Jan 12, 2022 3:11:11 PM org.physionet.wfdb.ErrorReader run
WARNING: annopen: can't read annotator atr for record xxxxx
error: [java] java.lang.ArrayIndexOutOfBoundsException
error: called from
rdann at line 185 column 8
For debugging, it's useful to be able to change the log level at any time (i.e., after wfdbloadlib has already been called.)
Before:
After: