code generate for rigidBodyTree

2 ビュー (過去 30 日間)
tangzhong song
tangzhong song 2020 年 4 月 15 日
回答済み: Francesco Ciriello 2021 年 8 月 29 日
I want to generate c++ code from matlab code, some errors occur. Why can I solve it? Thanks!

採用された回答

Darshan Ramakant Bhat
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.

その他の回答 (1 件)

Francesco Ciriello
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

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by