Error when m-file calls cpp-file
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (1)
José-Luis
il 2 Mag 2013
1 voto
Are you using linux?
2 Commenti
Elysi Cochin
il 2 Mag 2013
José-Luis
il 2 Mag 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.
Categorie
Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!