mex-mingw32 is a template build system for Windows MEX files to be compiled with the mingw32 GNU toolchain. This build system also works with a mingw32 cross-compiler hosted under another operating system (such as Linux).
mex-mingw32 is based extremely closely on Gnumex. The primary advantage of mex-mingw32 over Gnumex is that mex-mingw32 works fine with cross-compilers.
Bug reports related to matexpr should be sent to