Where to obtain MX/MEX/MAT/Engine Libraries?

7 views (last 30 days)
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.

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 15 Aug 2012
The libraries ship with MATLAB. You should compile your MEX-file using the MATLAB mex utility, which will automatically resolve those libraries for you.
  2 Comments
Lee Kamentsky
Lee Kamentsky on 3 Oct 2013
Is there some other way to obtain the necessary files for the MX and Engine libraries (libeng.so/dll, libmx.so/dll and the .h files)? I'd like to build Matlab connectivity into my application and like non-Matlab users to be able to be able to compile my build. Also, are there any redistribution licensing restrictions for libeng.so and libmx.so?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!