code generate for rigidBodyTree

2 visualizaciones (últimos 30 días)
tangzhong song
tangzhong song el 15 de Abr. de 2020
Respondida: Francesco Ciriello el 29 de Ag. de 2021
I want to generate c++ code from matlab code, some errors occur. Why can I solve it? Thanks!

Respuesta aceptada

Darshan Ramakant Bhat
Darshan Ramakant Bhat el 15 de Abr. de 2020
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.

Más respuestas (1)

Francesco Ciriello
Francesco Ciriello el 29 de Ag. de 2021
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

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by