Hi Mariano,
Thanks for this complete toolbox, it will be really useful for me.. I've just installed it and tried QRS detection, using this:
ECGw=ECGwrapper('recording_name','recordings\example_recording.mat','ECGtaskHandle','QRS_detection')
which was successful in configuring the ECGwrapper object, but when now I run it (ECGw.Run), it works upto: ecgpuwave and then Matlab gives an error (access violation)...
Description of the process:
+ Recording: recordings\example_recording.mat
+ Task name: QRS_detection
Processing QRS detector wavedet
Processing QRS detector pantom
..................
..................
.................
.................
.................
.................
.................
.................
.................
.................
Processing QRS detector aristotle
###############################################
# Could not execute "aristotle" QRS detector. #
###############################################
Processing QRS detector gqrs
Processing QRS detector sqrs
Processing QRS detector wqrs
Processing QRS detector ecgpuwave
####################################################################
# ecgpuwave failed in recording example_recording_1_10000 lead PPG #
####################################################################
looking at the log file (below), the problem seems to be with the readannot.mex...
------------------------------------------------------------------------
Access violation detected at Thu Aug 06 17:42:22 2015
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce 310M Version 8.16.11.8921
MATLAB Architecture: win32
MATLAB Root : C:\Program Files\MATLAB\R2014b
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Microsoft Windows 7 Ultimate
Processor ID : x86 Family 6 Model 37 Stepping 5, GenuineIntel
Software OpenGL : 0
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) Client VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
EAX = 00000000 EBX = 00000001
ECX = 76e83dcf EDX = 775470b4
ESP = 00c28488 EBP = 00c28550
ESI = 00000000 EDI = 00000000
EIP = 07ff1a37 EFL = 00210202
CS = 0000001b DS = 00000023 SS = 00000023
ES = 00000023 FS = 0000003b GS = 00000000
Stack Trace (from fault):
[ 0] 0x07ff1a37 C:\Users\faezeh\Documents\MATLAB\ecg-kit-0.1.0\common\readannot.mexw32+00006711 mexFunction+00001751
[ 1] 0x7c791a3f C:\Program Files\MATLAB\R2014b\bin\win32\libmex.dll+00072255 mexRunMexFile+00000127
[ 2] 0x7c790b94 C:\Program Files\MATLAB\R2014b\bin\win32\libmex.dll+00068500 inSwapMexfileReader+00000692
[ 3] 0x7c79032d C:\Program Files\MATLAB\R2014b\bin\win32\libmex.dll+00066349 mexUnlock+00005245
[ 4] 0x0359d813 C:\Program Files\MATLAB\R2014b\bin\win32\m_dispatcher.dll+00055315 Mfh_file::dispatch_fh+00000595
[ 5] ....
.
.
.
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If this problem is reproducible, please submit a Service Request via:
A technical support engineer might contact you with further information.
Thank you for your help.** This crash report has been saved to disk as C:\Users\faezeh\AppData\Local\Temp\matlab_crash_dump.2828-1 **
Would you please kindly help me resolve this issue?
Regards,
Fazi