RigidBodyTree issue in Matlab Systems block
4 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Karsh Tharyani
on 25 Jan 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
0 Comments
See Also
Categories
Find more on Robotics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!