Converting String Vector in C++ to mxArray in Matlab
10 次查看(过去 30 天)
显示 更早的评论
can anyone tell me how do I convert a string vector which I have in c++ to its corresponding data type mxArray in matlab?> I am trying to plot a graph and I did the conversion from double for my y axis, I have string variables on my X-axis and I am unable to convert that to mxArray.
for eg vector<string>date; I have a few dates in the date vector which have been passed. now I want to convert this whole string vector to mxArray.
Help will be appreciated.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!