Fixing the mex problem in Windows.

38 views
Skip to first unread message

dieg...@gmail.com

unread,
Jul 16, 2018, 12:15:06 PM7/16/18
to ecg-kit users
Hello Mariano

First of all, thank you for all your work.

I am trying to install the kit in a 64bit  MATLAB 2014a.

First I installed the toolbox as instructed in the help but examples make matlab to crash

I arrived at your forum with the message about the compilation problem of the mex files, but the instructions are for Linux Unix machine so I tried to do the same in windows

I erased the mex files and recompiled them using this instruction

 mex -v GCC='/usr/bin/gcc-4.7' C:\Diego\MATLAB-LIBRARIES\ECG-TOOLKIT\ecg-kit-master\common\readannot.c
mex -v GCC='/usr/bin/gcc-4.7' C:\Diego\MATLAB-LIBRARIES\ECG-TOOLKIT\ecg-kit-master\common\writeannot.c

The mex files compile but the program is still crashing when running the examples. Any idea in how to fix this in windows?

Thank you in advance

Diego Pava

dieg...@gmail.com

unread,
Jul 16, 2018, 12:18:53 PM7/16/18
to ecg-kit users
just a clarification, when I put in the command window

mex -setup

it says 

MEX configured to use 'Microsoft Visual C++ 2013 Professional (C)' for C language compilation.

Mariano Llamedo Soria

unread,
Jul 16, 2018, 12:29:45 PM7/16/18
to dieg...@gmail.com, ecg-kit users
Hi Diego, thanks for trying the kit and for reporting your problems. 

Once I helped another user with a similar problem as you describe, did you try it with another Matlab version? Just to be sure, r2014x were  very problematic versions. If you are able to confirm the problem in another release we can try other things, but please first try just changing Matlab release. If you suceed, please report it ! :)

Good luck,
M.

--
You received this message because you are subscribed to the Google Groups "ecg-kit users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ecg-kit-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ecg-kit-users/e11f3c2a-9d99-484a-bef1-b319d95c69ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages