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.

Using GCC (MinGW) as MATLAB's MEX compiler

I've been given a project to run on MATLAB R2011a. As there are several .c files in there - …

matlab mingw mex
What was the difference between WSDL & Mex Endpoint in WCF

I have couple of question on mex endpoint. In legacy web services, we create a proxy using wsdl. The WSDL …

c# wcf wsdl mex
Setting up mex to use the Visual Studio 2010 compiler

I have Visual Studio 2010 installed. However, MATLAB doesn't find the compiler. >> mex -setup Please choose your compiler for …

visual-studio-2010 matlab configuration mex
How to tell mex to link with the libstdc++.so.6 in /usr/lib instead of the one in the MATLAB directory?

Now mex in MATLAB 2012a only officially supports gcc 4.4.6 but I want to use gcc 4.7 at my own risk. Now …

linux matlab linker mex
How to build mex file directly in Visual Studio?

I have a Visual Studio 2010 solution that contains a library of functions, and I would like to be able to …

matlab visual-studio mex
MEX compile error: unknown type name 'char16_t'

I cannot compile any MATLAB MEX code due to the following error: In file included from /Applications/MATLAB_R2013a.…

xcode matlab c++11 compiler-errors mex
How to link during Matlab's MEX compilation

I've written a program of the following form: #include "stuff_I_need.h" int main(){ construct_array(); // uses OpenMP pragma's …

matlab openmp linker-errors mex
Error: Invalid MEX file, the specified module could not be found

I have compiled Mex file successfully on my laptop. But when I am running it, it says Invalid mex file …

matlab mex
matlab compiler installation problems

I'm trying to run a compiler on MATLAB but things don't go as expected. How can I properly install MATLAB …

matlab compiler-construction 64-bit mex winapi
FFTW vs Matlab FFT

I posted this on matlab central but didn't get any responses so I figured I'd repost here. I recently wrote …

c++ matlab mex fftw