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

Can not run toolbox with Matlab R2015a #108

Open edgerst opened 9 years ago

edgerst commented 9 years ago

Toolbox version 0-9-9 worked fine, but can not get version 0-9-10 to work on Matlab R2015a. Has anyone successfully run the RecordViewer in R2015a - I know some of the graphics have changed from R2014b.

Trying to run wfdbRecordViewer causes following error: Undefined variable "javaWfdbRdsamp" or class "javaWfdbRdsamp.exec".

Error in rdsamp (line 197) data=double(javaWfdbRdsamp.exec(wfdb_argument));

Error in wfdbRecordViewer>loadRecord (line 247) [signal,Fs,tm]=rdsamp(fname);

Error in wfdbRecordViewer_wfdbRecordViewer_OpeningFcn (line 152) loadRecord(records{current_record},handles);

Error in gui_mainfcn (line 220) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in wfdbRecordViewer (line 42) gui_mainfcn(gui_State, varargin{:});

My config is: config =

   MATLAB_VERSION: '8.5.0.197613 (R2015a)'
         inOctave: 0
     WFDB_VERSION: '[10.5.24]'
   WFDB_JAVA_HOME: ' /Users/egerstenfeld/Documents/MATLAB/mcode/'
  WFDB_NATIVE_BIN: ' /Users/egerstenfeld/Documents/MATLAB/mcode/nativelibs/macosx/'
    EXECUTING_DIR: ' null'
           osName: 'macosx'
       fullOsName: ' Mac OS X'
           osArch: ' x86_64'
   customArchFlag: ' false'
        OSVersion: ' 10.9.5'
       JVMVersion: ' 1.7.0_60]'
      MATLAB_PATH: '/Users/egerstenfeld/Documents/MATLAB/mcode/'
WFDB_JAVA_VERSION: 'wfdb-app-JVM7-0-9-10.jar'
      DEBUG_LEVEL: 0
NETWORK_WAIT_TIME: 1000
      MATLAB_ARCH: 'maci64'
        WFDB_PATH: '. /Users/egerstenfeld/Documents/MATLAB/mcode/../database/ http://physionet.org/physiobank/database/'
          WFDBCAL: ' /Users/egerstenfeld/Documents/MATLAB/mcode//database/wfdbcal'
   WFDB_CUSTOMLIB: 0
     CACHE_SOURCE: 'http://physionet.org/physiobank/database/'
       CACHE_DEST: '/Users/egerstenfeld/Documents/MATLAB/mcode/../database/'
            CACHE: 1

Ed