Cpp to Mex conversion
Ältere Kommentare anzeigen
How can I do a cpp conversion to mex?
Thanks
1 Kommentar
James Tursa
am 17 Jun. 2019
Please post more details. Have you looked at the examples in the doc?
Akzeptierte Antwort
Weitere Antworten (1)
Suryaansh Mata
am 18 Jun. 2019
0 Stimmen
You can use the inbuilt MEX functionality to make use of the source code in C/C++ in MATLAB. Follow the step-by-step detailed instructions given at https://www.mathworks.com/help/matlab/matlab_external/standalone-example.html for the same.
2 Kommentare
Stelios Fanourakis
am 18 Jun. 2019
Maria Cristina Bustos Rodriguez
am 31 Jan. 2020
I solved that mxCreateNumericArray_730 error by putting this warning:
"mex -DMX_COMPAT_32 yourcode.cpp "
Kategorien
Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!