I want to translate a Matlab project in C++ by using Visual Studio. In my Matlab project I also have some mex file with given code. By given code I mean a .cc
code with the actual code of the mex function.
How can I use that code directly in C++? I have some functions with the mx
prefix which I cannot use inside Visual Studio (e.g. mxGetPr
, mxGetDimensions
, mxClassID
).
What do I have to include or add to my project in order to use those functions? Can you give me a starting point of how to translate and use this type of code in C++?