Problems with Matlab Integration

91 views
Skip to first unread message

Harvey

unread,
Jan 5, 2021, 11:01:11 AM1/5/21
to wfdb-app-toolbox
Hey there,
i experienced problems when trying to use the wfdb toolbox. I tried the installation procedure described in the readme files.

1. My Matlab commands:

clear all;
clc;
close all;
addpath(genpath('C:\Users\Hannes\Documents\MatlabAddOns\wfdb-app-toolbox-master\mcode'));
wfdbdemo
wfdbtest

2. I recieved the error messages:

2.a) for wfdbdemo:

Reading samples ECG signal from MIT-BIH Arrhythmia Database
Reference to non-existent field 'WFDB_CUSTOMLIB'.

Error in getWfdbClass (line 34)
javaWfdbExec=javaObject('org.physionet.wfdb.Wfdbexec',commandName,config.WFDB_CUSTOMLIB);

Error in rdsamp (line 88)
    [javaWfdbExec,config]=getWfdbClass('rdsamp');

Error in wfdbdemo (line 12)
[ecg,Fs,tm]=rdsamp('mitdb/100',1,N);

Error in Test (line 5)
wfdbdemo

2.b) for wfdbtest:

**Printing Configuration Settings:
**    WFDB App Toolbox Path is:
        C:\Users\Hannes\Documents\MatlabAddOns\wfdb-app-toolbox-master\mcode\wfdbloadlib.m

config =

  struct with fields:

    MATLAB_VERSION: '9.9.0.1524771 (R2020b) Update 2'
          inOctave: 0

Warning: You are using an unsupported version of MATLAB: 9.9.0.1524771 (R2020b) Update 2
> In wfdbtest (line 71)
In Test (line 6)
Reference to non-existent field 'osName'.

Error in wfdbtest (line 73)
if(~isempty(regexp(config.osName,'macosx','once')) && isempty(regexp(config.OSVersion,'10.9','once')))

Error in Test (line 6)
wfdbtest


3. My Toolbox configuration details:
    config =

  struct with fields:

    MATLAB_VERSION: '9.9.0.1524771 (R2020b) Update 2'
          inOctave: 0
Reply all
Reply to author
Forward
0 new messages