Cpp to Mex conversion
Mostrar comentarios más antiguos
How can I do a cpp conversion to mex?
Thanks
1 comentario
James Tursa
el 17 de Jun. de 2019
Please post more details. Have you looked at the examples in the doc?
Respuesta aceptada
Más respuestas (1)
Suryaansh Mata
el 18 de Jun. de 2019
0 votos
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 comentarios
Stelios Fanourakis
el 18 de Jun. de 2019
Maria Cristina Bustos Rodriguez
el 31 de En. de 2020
I solved that mxCreateNumericArray_730 error by putting this warning:
"mex -DMX_COMPAT_32 yourcode.cpp "
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!