Mac OS X 10.10.3, wfdb-toolbox version: 0-9-10 and onward, MATLAB 2015a. This will not happen on Linux. I deleted path/mcode directory and initiated the system again, but still, I get the error. I run wfdbdemo and get Reading samples ECG signal from MIT-BIH Arrhythmia Database Error using javaObject No class org.physionet.wfdb.jni.Rdsamp can be located on the Java class path Error in rdsamp (line 114) javaWfdbRdsamp=javaObject('org.physionet.wfdb.jni.Rdsamp'); Error in wfdbdemo (line 12) [ecg,Fs,tm]=rdsamp('mitdb/100',1,N); I extended the case to the ticket where I try to restore the system without changing the directory. Did you change the directory in restoring your system? I also got the error. I did manage to stop it but I still don't exactly understand what is going on. Backstory: A while ago, I first installed the stable release from physionet: Running wfdbdemo I got: Reading samples ECG signal from MIT-BIH Arrhythmia Database Command exited with non-zero status!! Error using rdsamp (line 178) Java exception occurred: java.lang.NullPointerException at org.physionet.wfdb.Wfdbexec.execToDoubleArray(Unknown Source) Error in wfdbdemo (line 12) [tm,ecg]=rdsamp('mitdb/100',1,N); Running javaclasspath I get at the end: DYNAMIC JAVA PATH /home/cx1111/Downloads/stable/wfdb-app-toolbox-0-9-9/mcode/wfdb-app-JVM7-0-9-9.jar So it's not complaining about java objects or java class paths. I solved this by replacing the precompiled wfdb libraries in the mcode/nativelibs/linux/lib64 directory with ones I freshly compiled on my system from the wfdb software package: cd mcode/nativelibs/linux/lib64/ rm * cp /usr/local/lib/libwfdb*. Now wfdbdemo worked. But Chrome comes with already installed Flash player and asks your permission before running. Earlier Chrome had a “Allow sites to run Flash” option, which is removed in latest Mac Chrome version. Allow Specific Site to Run Flash Summary Below table shows the summary of using Flash options in Google Chrome on Mac. How to automatically open settings on google chrome for mac free. Considering all these facts, Apple does not offer Flash player for. So there are no ways to enable Flash on Chrome on all the sites by default. This is a clear indication that the “Flash” section will be removed soon from the Chrome to encourage sites to use. The problem was that the compiled libraries distributed with the package were not suitable for my OS version. Hey Guys, You actually don't need the org.physionet.wfdb.jni.Rdsamp. That's an unstable class that I was working on to make RDSAMP much faster (order of magnitudes) by implementing it on the Java Native Interface instead of going through MATLAB/JAVA/System Processes. I got the class to work with Linux and some Mac, but was having trouble compiling on Windows, so its unstable ( we can remove from the branch code). Quick Fix: If you want to have your code working right now modifu the following code in RDSAMP from: if(isempty(javaWfdbRdsamp) && (rawUnits ==0)) javaWfdbRdsamp=javaObject('org.physionet.wfdb.jni.Rdsamp'); end To the following: if(isempty(javaWfdbRdsamp) && (rawUnits ==0)) warning('Option not available') end You may want to update the help on the function as well. For Java versions 6 and below, Apple supplies their own version of Java. For Mac OS X 10.6 and below, use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java 6 for your Mac. For issues related to Apple Java 6 on Mac, contact Apple Support. Replacing if(isempty(javaWfdbRdsamp) && (rawUnits ==0)) javaWfdbRdsamp=javaObject('org.physionet.wfdb.jni.Rdsamp'); end To the following: if(isempty(javaWfdbRdsamp) && (rawUnits ==0)) warning('Option not available') end I get this error then: Struct contents reference from a non-struct array object. Error in rdsamp (line 197) data=double(conv_matrix(javaWfdbRdsamp.exec(wfdb_argument))); Error in wfdbdemo (line 12) [ecg,Fs,tm]=rdsamp('mitdb/100',1,N); How can I solve this? Thanks in advance for your help! I am having a similar issue while trying to install WFDB for MATLAB on Ubuntu 16.04. I think this problem arises due to the MakeFile in the mcode/nativelibs folder. This Makefile runs partially and succesfully downloads curl and the file 'ecgpuwave-1.3.3.tar.gz' and 'wfdb-10.5.25pre1.tar.gz'. However, it exits at line 338 of Makefile and prints an error (snapshot given below). I seems that it cannot find locate librdsampjni header file. I did try the Quickfix suggested by ikarosilva and changed the javaWfdbRdsamp=javaObject('org.physionet.wfdb.jni.Rdsamp'); line to warning('Option not available'). Windows 8.1 for mac download. However, I still get an error (identical to that posted by remolaz). As a result the wfdbdemo still doesn't work for me. Here are some of the messages i get before the make terminates checking whether to build shared libraries. Yes checking whether to build static libraries. No checking for java. Java checking for javah. No checking for. No checking jni.h usability. No checking jni.h presence. No checking for jni.h. No configure: error: JNI header files not found. Makefile:338: recipe for target '/home/hak/Documents/MATLAB/WFDB/wfdb-app-toolbox-0-10-0/mcode/nativelibs/custom/build/librdsampjni.isconfig' failed make: *** [/home/hak/Documents/MATLAB/WFDB/wfdb-app-toolbox-0-10-0/mcode/nativelibs/custom/build/librdsampjni.isconfig] Error 1 Any help will be highly appreciated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |