Why does a struct in my MATLAB Function not show up in the generated C++ code?
显示 更早的评论
I am using MATLAB Coder to generate C++ code for a MATLAB function containing a struct. When I generate C++ code, I find that it does not contain any of the structure declarations I had in the original MATLAB function. Why? Also, output C++ code has no Class structure, just straight 'C' type code! Why? Does original MATLAB code have to be object oriented design?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!