CPM toolbox try to compile mex maxSparseMEX.c => get error of Could Not Find C:\Program Files\MATLAB\...\maxSparseMEX.lib or C:\Program Files\MATLAB\...\maxSparseMEX.exp
Show older comments
I'm trying to install and use the matlab continuous profile model toolbox (CPM toolbox) provided by Jennifer Listgarten at University of Toronto at http://www.cs.toronto.edu/~jenn/CPM/ for ms alignment. I'm currently running into problems trying to get the maxSparseMEX.c file to compile using:
mex maxSparseMEX.c
and get the errors:
Could not find C:\Program Files\MATLAB\...\maxSparseMEX.lib
Could not find C:\Program Files\MATLAB\...\maxSparseMEX.exp
Does anybody know how to get around this or how to create these files in order to compile the code? Or has anybody installed this?
Thanks!
Answers (1)
Kaustubha Govind
on 28 Mar 2011
To ensure that this is not a problem with MEX, please try:
>> cd C:\work
>> copyfile([matlabroot '\extern\examples\refbook\timestwo.c'])
>> mex -v timestwo.c
Does the compilation finish successfully? Please paste the complete output of the MEX command if there is a failure.
2 Comments
Gigit
on 29 Mar 2011
Kaustubha Govind
on 29 Mar 2011
Great! Yes, permissions does seem to have been the issue.
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!