RigidBodyTree issue in Matlab Systems block

조회 수: 6 (최근 30일)
Fangzhong
Fangzhong 2023년 1월 17일
답변: Karsh Tharyani 2023년 1월 25일
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일
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

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by