Why does a struct in my MATLAB Function not show up in the generated C++ code?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!