Why does a struct in my MATLAB Function not show up in the generated C++ code?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!