Преобразование библиотеки C++ в MATLAB mex ⇐ C++
-
Anonymous
Преобразование библиотеки C++ в MATLAB mex
I have a big C++ code and I want to integrate this into MATLAB so that I can use it inside my matlab code. If it was a single code making its mex file would have been the best option. But since now it's a code that needs to be compiled and built in order to run, I don't know how can I use the functions in this code.
Is making mex files for the whole code the only option or is there any other workaround? Also I would like some help on how can I make mex files for the whole code and then build it.
For more insight, this is the code I am trying to integrate in matlab http://graphics.stanford.edu/projects/d ... _v_2_2.zip . Thank You!
Источник: https://stackoverflow.com/questions/258 ... matlab-mex
I have a big C++ code and I want to integrate this into MATLAB so that I can use it inside my matlab code. If it was a single code making its mex file would have been the best option. But since now it's a code that needs to be compiled and built in order to run, I don't know how can I use the functions in this code.
Is making mex files for the whole code the only option or is there any other workaround? Also I would like some help on how can I make mex files for the whole code and then build it.
For more insight, this is the code I am trying to integrate in matlab http://graphics.stanford.edu/projects/d ... _v_2_2.zip . Thank You!
Источник: https://stackoverflow.com/questions/258 ... matlab-mex
Мобильная версия