Cpp to Mex conversion
Afficher commentaires plus anciens
How can I do a cpp conversion to mex?
Thanks
1 commentaire
James Tursa
le 17 Juin 2019
Please post more details. Have you looked at the examples in the doc?
Réponse acceptée
Plus de réponses (1)
Suryaansh Mata
le 18 Juin 2019
0 votes
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 commentaires
Stelios Fanourakis
le 18 Juin 2019
Maria Cristina Bustos Rodriguez
le 31 Jan 2020
I solved that mxCreateNumericArray_730 error by putting this warning:
"mex -DMX_COMPAT_32 yourcode.cpp "
Catégories
En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!