Reference models and code generation with use of the Robotics Toolbox

2 次查看(过去 30 天)
I am trying to build my simulink model for ROS. This works fine without any reference models but when I add a reference model to my model, I am getting the following error:
Function TAR tried to add two files as "slros_busmsg_conversion.cpp".
Any ideas?

回答(1 个)

Chinmayi Lanka
Chinmayi Lanka 2017-3-29
Robotics System Toolbox as of R2016b does not support working with model references. There are no workarounds other than removing the references and replacing them with the actual contents of the model you tried referencing.
  1 个评论
Parth Dhameliya
Parth Dhameliya 2020-2-25
Does code generation in Matlab2019b ROS Toolbox support working with model references?
Because I am generating stand alone ROS node from Simulink model which contains many referenced models and different referenced configurations and I am getting following error.
Function TAR tried to add two files as "rtw_linux.h".

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by