Why do I receive error messages when trying to compile an mwArray structure array?
显示 更早的评论
When I attempt to compile an example mwArray structure array using the example found by running the command:
web([docroot,'/toolbox/compiler/api_appendix34.html#93221'])
I receive the following error messages:
comptest.cpp(5) : error C2440: 'initializing' : cannot convert from 'const char [2]' to 'char ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
comptest.cpp(5) : error C2078: too many initializers
comptest.cpp(6) : error C2664: 'mwArray::mwArray(int,int,mxClassID,mxComplexity)' : cannot convert parameter 4 from 'char ** ' to 'mxClassID'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
Why do I receive these errors?
采纳的回答
更多回答(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!