Top "Mex" questions

MEX-files (MEX stands for Matlab EXecutable) are dynamically linked subroutines produced from C, C++ or Fortran source code that, when compiled, can be run from within MATLAB® in the same way as MATLAB functions or built-in functions.

matlab in C C++ and C C++ in matlab

It seems that are several ways to call matlab in C C++ and to call C C++ in matlab. While …

c matlab mex matlab-engine matlab-compiler
shared library locations for matlab mex files:

I am trying to write a matlab mex function which uses libhdf5; My Linux install provides libhdf5-1.8 shared libraries …

gcc matlab mex hdf5 rpath
How can I get MatLab to find the Visual C++ Compiler?

Preamble: I found a solution in the midst of writing this, and this problem was a PITA and had a …

c++ matlab visual-studio mex
How to loop through matrix elements in mex c++ function for MATLAB?

I am trying to index write an external c++ function for MATLAB using mex to manipulate matrices, and am not …

c++ matlab multidimensional-array mex
how to read an integer array in MEX-function

I am passing an integer array of uint8 type from MATLAB to a MEX-function. How do I read these values? …

matlab mex
Matlab API reading .mat file from c++, using STL container

I have to read some .mat data files from c++, I read through the documentation, but I would like to …

c++ matlab stdvector mex mat-file
How to provide Matlab with the old gcc version it wants?

On my computer I have Ubuntu 10.10 with gcc 4.4.4. I try to compile some mex files which use CUDA and I …

matlab gcc cuda mex
How to speed up Eigen library's matrix product?

I'm studying simple multiplication of two big matrices using the Eigen library. This multiplication appears to be noticeably slower than …

matlab mex eigen
MATLAB MEX can't find standard library with XCode 4.3 (Mac)

I am getting started with using MEX files for MATLAB (R2012a) compiled from C code (using XCode 4.3) on my …

xcode matlab mex xcode4.3
How can basicHttpBinding, webHttpBinding & mexHttpBinding endpoints coexist in one WCF service

I have a WCF service (target .NET 4) and I need to expose 4 endpoints: SOAP, POX, JSON & MEX. My configuration …

wcf mex basichttpbinding webhttpbinding