Error when m-file calls cpp-file
古いコメントを表示
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?
採用された回答
その他の回答 (1 件)
José-Luis
2013 年 5 月 2 日
1 投票
Are you using linux?
2 件のコメント
Elysi Cochin
2013 年 5 月 2 日
José-Luis
2013 年 5 月 2 日
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.
カテゴリ
ヘルプ センター および File Exchange で Write C Functions Callable from MATLAB (MEX Files) についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!