how to use matlab shared library in visual studio 2010 and cmake ?

asked 2016-05-09 14:55:58 -0500

happy gravatar image


I work in my project intitled "Automatic brain tumor segmentation". I use the visual studio c++ 2010, cmake, Qt, itk and vtk libraries. I have a matlab code doing a party of my project and I want to use it in visual studio. So I generate a shared library with matlab command " mcc -v -W cpplib:libSymDemo -T link:lib SymDemo" and many files (libSymDemo.cpp, libSymDemo.h, libSymDemo.lib and libSymDemo.dll). So how to link this library to my project ?? I must change the CMakeLists.txt file ??

Please can you help me ?


edit retag flag offensive close merge delete