How to deal with the new string data type and string arrays when calling the matlab engine and matrix.h
4 次查看(过去 30 天)
显示 更早的评论
How can I deal with the new string datatype and string arrays when using the C engine and C Matrix API. There does not seem to be any mention of this in the C API docs.
0 个评论
回答(1 个)
Vineet Ahirkar
2018-11-12
编辑:Vineet Ahirkar
2018-11-12
Currently, the C Engine and C MEX do not support the new MATLAB string. As a workaround, a wrapper function can be created for the conversion between char array and string.
You can consider moving to the C++ Engine or C++ MEX in order to work with MATLAB string.
Refer to these links for the same -
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call MATLAB from C 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!