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!