Unable to create ROS2 node

I am trying to create a ROS2 node on Windows 11, MATLAB R2025b.
While either trying to create a node, or even testing with "ros2 node list", I receive an error:
>> node = ros2node("matlab_node");
Error creating the ROS 2 node matlab_node.
Error in
createNode(obj, parser.Results.name, parser.Results.id);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Caused by:
Error using
Server failed to start. Details: Transport stopped.
This was working hours ago...
reinstalling ROS toolbox and even MATLAB did not change outcome.
Thanks!

댓글 수: 1

Todd
Todd 2026년 4월 12일 19:35
이동: Jagadeesh Konakalla 대략 20시간 전
I found a soludtion. "This error is shown when some shared memory files have not been correctly freed if the Fast DDS application has crashed or has not been closed cleanly. Fast DDS CLI provides an option to clean zombie files: fastdds shm clean. The issue is that if the file is still blocked because Fast DDS was closed unexpectedly then this tool cannot remove the file. Then, the only option is to remove these files manually. The shared memory files are saved in the following folders and are named with fastrtps included in their filenames:"
The solution involved deleting the shared memory files as described in the link.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Custom Message Support에 대해 자세히 알아보기

제품

릴리스

R2025b

질문:

2026년 4월 12일 19:16

이동:

2026년 4월 13일 8:29

Community Treasure Hunt

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

Start Hunting!

Translated by