Bus selector error when trying to create a standalone ROS node from Simulink

1 回表示 (過去 30 日間)
Dylan Frijters
Dylan Frijters 2021 年 4 月 1 日
回答済み: Remo Pillat 2021 年 9 月 13 日
Hi,
I have two radar sensors, which are two seperate ROS nodes, connected to a machine (NXP BlueBox2) running on Linux with ROS melodic. My PC is connected to that machine via a ssh connection and runs Matlab 2017b as a third ROS node to process radar data in a Matlab script. The radar nodes make us of custom messages.
I now want to export the script using Simulink to create a standalone node. However, I get this 'Error in port widths or dimensions' in the bus selector as shown below. How can I fix this?
The script is going to be implemented using a MATLAB Function later.

採用された回答

Remo Pillat
Remo Pillat 2021 年 9 月 13 日
Thanks for your question, Dylan. It sounds like you found the right solution yourself by using the "for each" subsystem. If this is the right answer, please accept it (your previously answer was in the comment).

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePublishers and Subscribers についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by