I am having compiler issues with setting up this external package for matlab
1 次查看(过去 30 天)
显示 更早的评论
Product version: MATLAB R2013a Student Version (32-bit)
What I am trying to do is use the EMD (empirical mode decomposition) package from this page: http://perso.ens-lyon.fr/patrick.flandrin/emd.html (the "zip" link downloads the package I am trying to use; pack_emd.zip).
To use this package properly, I must install this package first, by using the "install_emd" file in the root directory in the file download.
when I execute this file though (as in type in "install_emd.m") into matlab, I get this error
lcc preprocessor error: cemdc.c:19 Could not find include file <complex.h>
...
And it carries on for a long time, with similar error message. My matlab is currently set up to use the 'Lcc-win32 C 2.4.1' compiler (from the mex -setup command)
I figured out perhaps i needed Lcc-win64 instead, because I am using windows 7 64 bit. So I came across the lccwin64 from this page: http://www.cs.virginia.edu/~lcc-win32/
However, matlab is not detecting this newly downloaded compiler when i type in "mex -setup" command into matlab.
I also tried using the " Microsoft Visual C++ 2010" compiler that matlab does detect, but I get similar error message as with the lcc-win32 compiler:
cemdc.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory
...
I do know that I need a C99 compliant compiler for C.
I'm not really sure what the issue is here. Is anyone able to help me?
Regards, Ashley
1 个评论
Kaustubha Govind
2013-6-25
编辑:Kaustubha Govind
2013-6-25
I'm not familiar with complex.h, but there seems to be some contention about whether MSVC is C99 compliant: http://www.mathworks.com/matlabcentral/newsreader/view_thread/251337
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!