code generate for rigidBodyTree
2 次查看(过去 30 天)
显示 更早的评论
I want to generate c++ code from matlab code, some errors occur. Why can I solve it? Thanks!
0 个评论
采纳的回答
Darshan Ramakant Bhat
2020-4-15
Handle objects are not supported as entry point input / ouput for codegeneration :
Please try to modify your code to take non-handle class / structure as entrypoint input.
0 个评论
更多回答(1 个)
Francesco Ciriello
2021-8-29
You can use the writeAsFunction to create a function from which you can load the rigidBodyTree. Check out this doc page: https://www.mathworks.com/help/robotics/ref/rigidbodytree.writeasfunction.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!