In Simulink, unable to find the corresponding topic in the ROS system when subscribing or publishing to a ROS2 topic

unable to find the corresponding topic in the ROS system when subscribing or publishing to a ROS2 topic in MATLAB2023b

Answers (1)

Hi @YOM,
It seems like you're looking at an image where the command used is meant to display a list of ROS 2 nodes, not topics. If you're trying to see the list of topics in a ROS environment, you might be using the wrong command.
ros2 topic list
The page linked might have useful information for you.

Asked:

YOM
on 13 Mar 2024

Answered:

on 24 Jan 2025

Community Treasure Hunt

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

Start Hunting!