Is it possible to call a rigidBodyTree robot model in a Matlab function in Simulink?
古いコメントを表示
Hi everybody,
I am trying to use the Robotic System Toolbox functions inside a Matlab function in Simulink.
I am having troubles in importing the rigidBodyTree model in the Matlab function.
How can I manage this issue?
Thank you very much in advance!
4 件のコメント
Aastav Sen
2020 年 5 月 28 日
I second this question! (https://www.mathworks.com/matlabcentral/answers/533538-how-to-load-rigidbodytree-from-workspace-into-simulink)
I am currently solving this problem by recreating the ridigbodyTree in the MATLAB Function block itself. However, this means that it is created in every loop and that is not efficient or desireable at all. Although it is a workaround, I am unsure if directly obtaining a 'ridigbodyTree' type from the workspace is possible and if anybody knows about this I would really appreaciate it if you helped us out.
Lorenzo Scalera
2020 年 5 月 29 日
Valeria Leto
2021 年 4 月 7 日
Hi Lorenzo! could you post your code? I have the same problem but I didn't understand how to fix it.
Lorenzo Scalera
2021 年 4 月 9 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Manipulator Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!