Error when m-file calls cpp-file
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
José-Luis
am 2 Mai 2013
1 Stimme
Are you using linux?
2 Kommentare
Elysi Cochin
am 2 Mai 2013
José-Luis
am 2 Mai 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.
Kategorien
Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!