cppmex

Compile mex-functions with C++ Math Library and the mwArray matrix.

You are now following this Submission

Mex-functions can be compiled using the C structure mxArray. But it's also possible to use the C++ mwArrays and all the C++ math library. Use "cppmex -setup" to initialise the compiler for your installation and then type cppmex instead of mex. Now the entry point become void cppMexFunction(int nlhs, mwArray mlhs[], int nrhs, mwArray mrhs[]).

Cite As

Jerome Lacaille (2026). cppmex (https://in.mathworks.com/matlabcentral/fileexchange/2554-cppmex), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0