Cpp to Mex conversion
Mostra commenti meno recenti
How can I do a cpp conversion to mex?
Thanks
1 Commento
James Tursa
il 17 Giu 2019
Please post more details. Have you looked at the examples in the doc?
Risposta accettata
Più risposte (1)
Suryaansh Mata
il 18 Giu 2019
0 voti
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 Commenti
Stelios Fanourakis
il 18 Giu 2019
Maria Cristina Bustos Rodriguez
il 31 Gen 2020
I solved that mxCreateNumericArray_730 error by putting this warning:
"mex -DMX_COMPAT_32 yourcode.cpp "
Categorie
Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!