Why does the code generated following "Generate C++ Classes from MATLAB Classes Using MATLAB Coder" differ from the code shown in the video?
Ältere Kommentare anzeigen
I am following the "Generate C++ Classes from MATLAB Classes Using MATLAB Coder" example, which can be found here: https://www.mathworks.com/videos/generate-c-classes-from-matlab-classes-using-matlab-coder-1594020157369.html
I am using MATLAB R2021a and I believe I have followed the video exactly when creating the MATLAB handle class and using MATLAB coder to generate the C++ class, but the code I generate does not look the same as what is shown in the video. I do not get the "simpleClass.cpp" or "simpleClass.h" files, which are generated in the video.
Could you help me understand why the output is different?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Generating Code 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!