MATLAB: Where to obtain MX/MEX/MAT/Engine Libraries

MATLABmex

Hi,
I reading a few manuals regarding mex files and they have a lot of references for the libraries MX Library, MEX Library, MAT file Library and Engine Library.
Moreover, I need to obtain mex.h to modify and compile a cpp mex file I downloaded and I believe mex.h is included in one of those libraries.
Where can I download those libraries? Do I need to purchase them? Can someone please explain if those packages are indeed critical to mex development and how?
Thanks, Gil.

Best Answer

The libraries ship with MATLAB. You should compile your MEX-file using the MATLAB mex utility, which will automatically resolve those libraries for you.
Related Question