Why does the code generated following "Generate C++ Classes from MATLAB Classes Using MATLAB Coder" differ from the code shown in the video?
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Generating Code 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!