Closed GoogleCodeExporter closed 9 years ago
These steps will reproduce the problem:
% 1. Open MATLAB R2014b, evaluate:
[old_path]=which('rdsamp');if(~isempty(old_path)) rmpath(old_path(1:end-8)); end
% 2. Close Matlab and remove the old toolbox folder.
% 3. Open MATLAB. Go into the directory where you wish to install the Toolbox
% 4. Download the toolbox 0.9.7 and 0.9.8.
[filestr,status] =
urlwrite('http://physionet.org/physiotools/matlab/wfdb-app-matlab/wfdb-app-toolb
ox-0-9-8.zip',...
'wfdb-app-toolbox-0-9-8.zip');
[filestr,status] =
urlwrite('http://physionet.org/physiotools/matlab/wfdb-app-matlab/wfdb-app-toolb
ox-0-9-7.zip',...
'wfdb-app-toolbox-0-9-7.zip');
% 5. Unzip and set path to the toolbox
unzip('wfdb-app-toolbox-0-9-8.zip','wfdb0-9-8');
cd wfdb0-9-8/mcode
addpath(pwd);savepath
wfdb2mat('database/a01')
% at this point wfdb does not generate files
% 6. Switch the toolbox version 0.9.7
cd ../..
[old_path]=which('rdsamp');if(~isempty(old_path)) rmpath(old_path(1:end-8)); end
unzip('wfdb-app-toolbox-0-9-7.zip','wfdb0-9-7');
cd wfdb0-9-7/mcode
addpath(pwd);savepath
wfdb2mat('database/a01')
% at this point wfdb does generate files
delete('a01m.mat','a01m.hea')
cd ../..
% 7. Now switch to the toolbox version 0.9.8 again
[old_path]=which('rdsamp');if(~isempty(old_path)) rmpath(old_path(1:end-8)); end
cd wfdb0-9-8/mcode
addpath(pwd);savepath
wfdb2mat('database/a01')
% 8. Surprise: wfdb does generate files
delete('a01m.mat','a01m.hea')
System configuration:
MATLAB_VERSION: '8.4.0.150421 (R2014b)'
inOctave: 0
WFDB_VERSION: '[10.5.24]'
osName: 'windows'
fullOsName: ' Windows 7'
osArch: ' amd64'
customArchFlag: ' false'
OSVersion: ' 6.1'
JVMVersion: ' 1.7.0_11]'
WFDB_JAVA_VERSION: 'wfdb-app-JVM7-0-9-8.jar'
DEBUG_LEVEL: 0
NETWORK_WAIT_TIME: 1000
MATLAB_ARCH: 'win64'
WFDB_CUSTOMLIB: 0
Original comment by vollmer....@googlemail.com
on 22 Jan 2015 at 5:29
I have the same problem. can someone solve it.Thanks in advance
Original issue reported on code.google.com by
ikarosil...@gmail.com
on 22 Jan 2015 at 3:03