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
Mostrar comentarios más antiguos
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!
Respuestas (1)
Kaustubha Govind
el 28 de Mzo. de 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 comentarios
Gigit
el 29 de Mzo. de 2011
Kaustubha Govind
el 29 de Mzo. de 2011
Great! Yes, permissions does seem to have been the issue.
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!