Is it possible to call a rigidBodyTree robot model in a Matlab function in Simulink?
Ältere Kommentare anzeigen
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 Kommentare
Aastav Sen
am 28 Mai 2020
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
am 29 Mai 2020
Valeria Leto
am 7 Apr. 2021
Hi Lorenzo! could you post your code? I have the same problem but I didn't understand how to fix it.
Lorenzo Scalera
am 9 Apr. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Manipulator Modeling finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!