cppmex
Version 1.0.0.0 (138 KB) by
Jerome Lacaille
Compile mex-functions with C++ Math Library and the mwArray matrix.
2.1K Downloads
Updated
21 Oct 2002
No License
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://nl.mathworks.com/matlabcentral/fileexchange/2554-cppmex), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Application Deployment > MATLAB Compiler SDK >
- MATLAB > External Language Interfaces > C++ with MATLAB > Call C++ from MATLAB >
Find more on MATLAB Compiler SDK in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
private/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
