How to use mex.h in C++

Viewed 4697

I am trying to create a mex.cpp file and I am unsure how to use the "mex.h" file. I have seen it used in other mex files and it seems like it is a standard .h file that contains some of the 'mex types' which allow for compatibility between Matlab and C++. Could someone provide some more clarification as to how I should 1) find the mex.h file and 2) use it?

Thanks

1 Answers
Related