Unable to Connect MATLAB/Simulink to ROS
Show older comments
Hi,
I am trying to deploy my simulink model on ROS of my linux system. But despite it is pining, it is not establising connection to ROS. I request to help me as soon as possible. I installed ssh server and disable firewall as well. I am attaching the pic rosinit output.

6 Comments
Jagadeesh Konakalla
on 3 Nov 2022
Hi Shivam,
Can you provide more details to help you out ?
Which verison of MATLAB that you are using ? Whta is the IP address 192.168.0.140 ? Is this your linux machine where MATLAB is running ? Or it is the address of the VM machine where ROS is running ? Did you start the roscore on the system where ROS is running ?
Thanks,
Jagadeesh K
Shivam Bajpai
on 4 Nov 2022
Jagadeesh Konakalla
on 4 Nov 2022
Hi Shivam,
The MATLAB is running on Linux machine or Windows machine ?
You are also saying that it worked two days ago. What has changed from then to now ?
You need to make sure that IP addresses of MATLAB installed machine and your linux system running Noetic to be in the same subnet domain.
Thanks,
Jagadeesh K
Shivam Bajpai
on 4 Nov 2022
Shivam Bajpai
on 4 Nov 2022
Jagadeesh Konakalla
on 4 Nov 2022
Hi Shivam,
Can you run the following command in MATLAB and Share the generated file with me ?
>> ros.internal.generateSupportFile
Thanks,
Jagadeesh K.
Accepted Answer
More Answers (1)
Shivam Bajpai
on 4 Nov 2022
0 votes
Categories
Find more on Network Connection and Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


