简体   繁体   中英

How do I implement/use C++ header files in MATLAB?

I have a c++ code for generation of disparity maps as in stereo images sort of thing. The folder contains both .cpp and .h files. I have to implement that code in MATLAB. how would i do? the code is available in here http://vision.middlebury.edu/stereo/ .

You can make a MEX module, which is a C or C++ shared library that becomes a function inside MATLAB. The implementation can use just about any C and C++ libraries you want to.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM