RigidBodyTree issue in Matlab Systems block

4 visualizzazioni (ultimi 30 giorni)
Fangzhong
Fangzhong il 17 Gen 2023
Risposto: Karsh Tharyani il 25 Gen 2023
I'm trying to use rigidbodytree and manipulatorrrt through matlab systems block in simulink for code generation. However, I'm running into issues setting up the rigidbody tree model for the matlab systems block.
I've removed everything in my system confirmed the issue is coming from the rigidbodytree initiation call in setupImpl(). The error message is copied below and so is my function call. Thanks in advance for any suggestions.
Problem creating simulation target for the model 'model'.
Component:Simulink | Category:Model error
Error(s) encountered while building simulation target MEX-file for model 'model'.
function setupImpl(obj)
% Perform one-time calculations, such as computing constants
obj.RigidBodyTree = rigidBodyTree("MaxNumBodies",5,"DataFormat",'column');
end

Risposte (1)

Karsh Tharyani
Karsh Tharyani il 25 Gen 2023
Hi Fangzhong,
I would suggest you reach out to our Technical Support team with the reproducible of the issue. That will enable us to diagnose this in an efficient manner.
Best,
Karsh

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by