Matlab Error creating ROS Node

13 views (last 30 days)
Saharsh Bansal
Saharsh Bansal on 16 Jun 2021
I am trying to create a ROS node using Matlab on my windows machine on a ROS network initiated on a VM on the same PC.
Code I use:
I'm using 2021a. The node was created successfully. However, now when I try to recreate the node(after a full restart cycle for unrelated reasons), I get the error message:
"Error creating the ROS node /matlab_global_node_xxxxx".
Incidentally this error does not pop up when I use older versions such as 2020a or even 20b.
Jagadeesh Konakalla
Jagadeesh Konakalla on 17 Jun 2021
Hi Saharsh,
I was not sure about Cannot find module error. Are you seeing this error on the MATLAB Command window ?
It is not clear for me when you say connection lost error. Can you please elaborate ?
We have couple of backend changes from 20a release to 20b release. You mentioned that it is working on 20b, then it should work on 21 also.
I suggest you to reachout to us through the MathWorks Technical Supoort for further debugging the issue.
Jagadeesh K

Sign in to comment.

Answers (0)




Community Treasure Hunt

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

Start Hunting!