converting std::vector type to mwArray
显示 更早的评论
Hello,
I am trying to pass a vector in C++ to a C++ share library matlab function compiled by Matlab Compiler.
I am trying to convert a vector, for example myvect, to the mwArray type so that by matlab function can use it. The myvect has the following format in C++,
vector<double> myvect;
How can I convert this into mwArray type?
Thank you.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Deploy to C++ Applications Using mwArray API (C++03) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!