Cannot subscribe/publish topic from/to ROS2 jazzy container in Simulink

26 ビュー (過去 30 日間)
Dongho Kim
Dongho Kim 2025 年 10 月 17 日 17:19
コメント済み: Abhishek 2025 年 10 月 22 日 6:00
Issue
Currently, I am experiencing a problem that MATLAB R2025b is not able to subscribe/publish any topic from/to ROS2 jazzy container. Tested with a simple publisher and subscriber (C++) of ROS2 jazzy, Simulink subscribe/publish block was not able to subscribe or publish any topic. I have tested on two variants of ROS2 jazzy container images but I got the same result.
Meanwhile, publishing and subscribing from/to a ROS2 humble container is possible. Since doing a pub/sub using a docker container had no problem, I suspect that something is missing for the Simulink side setup or it might potentially a glitch of the R2025b. Is there anyone experiencing the same issue?
I attach the tested condition and simulink blocks used.
Tested environment:
- Ubuntu 24.04 LTS & Ubuntu 25.10
- MATLAB R2025b & MATLAB R2024b
- althack/ros2:jazzy-full, althack/ros2:hulble-full, osrf/ros2:jazzy-full-desktop
Container deployment command:
docker run -it --rm --net host <IMAGE> bash
Simulink block used:
  2 件のコメント
Angelo Yeo
Angelo Yeo 2025 年 10 月 19 日 23:58
I suspect that something is missing for the Simulink side setup or it might potentially a glitch of the R2025b.
If you believe this is a bug of MATLAB R2025b, please reach out to technical support team. They have strong connections to development team.
Abhishek
Abhishek 2025 年 10 月 22 日 6:00
Could you please help by answering the questions below? This will help me narrow down the issue:
  1. Is MATLAB installed on Ubuntu(on same host)?
  2. If yes, please try launching the container without host networking by using the following command:
docker run -it --rm <IMAGE> bash
3. Are MATLAB and docker container using same RMW_IMPLEMENTATION?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLEGO MINDSTORMS EV3 Hardware についてさらに検索

製品


リリース

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by