RigidBodyTree issue in Matlab Systems block

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

답변 (1개)

Karsh Tharyani
Karsh Tharyani 2023년 1월 25일

0 개 추천

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

카테고리

제품

릴리스

R2022a

질문:

2023년 1월 17일

답변:

2023년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by