Hello,
I am using R2025a, on Windows 11. I have installed the ROS toolbox, along with python 3.10.x.
Every time I issue a ros command, eg ros2node("/foo") or even ros2 node list, or whatever command in general, matlab hangs.
The program is not frozen, however it is as if the command never finishes execution. I've allowed for up to 30m of execution time, and I get nothing on the output window (and of course matlab is indicating "Busy").
The computer has all firewalls/antivirus software/whatnot completely disabled, so this must not be an issue here.
What I have tried:
1) Reinstall ROS addon
2) Try all three RMW implementations
In all cases, there was no difference in the outcome.
I've never seen this before, any ideas what it could be?
Thanks,
Konstantinos

 채택된 답변

NVSL
NVSL 2025년 9월 12일

1 개 추천

Hey Konstantinos,
I see that you’re having trouble with MATLAB hanging when running ROS commands from the command window. I’ve tried the same steps, but I cannot reproduce the issue since the commands are working properly for me.
However, you can try clearing the folder “C:\ProgramData\eprosima” by closing all instances of MATLAB and restart MATLAB. This should remove logs, configs, and cache for eProsima middleware and help in resolving the issue.
Hope this helps!

댓글 수: 1

Konstantinos
Konstantinos 2025년 9월 12일
Thanks, removing that folder worked like a charm. I didn't know this folder existed, let alone it might be caching anything.
For anyone else having a similar issue, feel free to try.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 ROS Toolbox에 대해 자세히 알아보기

제품

릴리스

R2025a

태그

질문:

2025년 9월 8일

댓글:

2025년 9월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by