Error when m-file calls cpp-file
Mostrar comentarios más antiguos
I have a folder that implements the Bayesian Color Constancy, and it contains .m files and .cpp files. When some .m file calls a .cpp file, MATLAB yields: ??? Undefined function or method ‹The functions' name› for input arguments of type ‹double›. although I have everything in path.
Do i need to install something special in order to make MATLAB recognize this file?
Respuesta aceptada
Más respuestas (1)
José-Luis
el 2 de Mayo de 2013
1 voto
Are you using linux?
2 comentarios
Elysi Cochin
el 2 de Mayo de 2013
José-Luis
el 2 de Mayo de 2013
Then you need to compile it. I looked at the download and a compiled linux version is provided. There is a Makefile provided to help with the dependencies or whatnot. You should probably contact the author for help if you want to do in Windows.
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!