Cpp to Mex conversion
이전 댓글 표시
How can I do a cpp conversion to mex?
Thanks
댓글 수: 1
James Tursa
2019년 6월 17일
Please post more details. Have you looked at the examples in the doc?
채택된 답변
추가 답변 (1개)
Suryaansh Mata
2019년 6월 18일
0 개 추천
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
Stelios Fanourakis
2019년 6월 18일
Maria Cristina Bustos Rodriguez
2020년 1월 31일
I solved that mxCreateNumericArray_730 error by putting this warning:
"mex -DMX_COMPAT_32 yourcode.cpp "
카테고리
도움말 센터 및 File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!