RigidBodyTree issue in Matlab Systems block
4 views (last 30 days)
Show older comments
Fangzhong on 17 Jan 2023
Answered: Karsh Tharyani on 25 Jan 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'.
% Perform one-time calculations, such as computing constants
obj.RigidBodyTree = rigidBodyTree("MaxNumBodies",5,"DataFormat",'column');
Karsh Tharyani on 25 Jan 2023
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.
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!