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 CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by