Clear Filters
Clear Filters

error using robotic system toolbox

3 views (last 30 days)
Bhargav Jha
Bhargav Jha on 12 Dec 2015
Commented: Ben Nurb on 25 Jan 2016
Hello,
I am using Matlab 2015a 32 bit on a 64 bit system. I have a simulink file that publishes velocity to the turtlebots. Sometimes everything works fine and I can see the bot moving. But other times i am getting this error.
MATLAB System block 'publishTest/Publish/SinkBlock' error occurred when invoking 'setupImpl' method of 'robotics.slros.internal.block.Publisher'. The error was thrown from '
'C:\Program Files (x86)\MATLAB\R2015a\toolbox\robotics\robotsimulink\robotslros\+robotics\+slros\+internal\+block\Publisher.p' at line 234'.
An error occurred while retrieving the list of network interfaces.
I have no idea why is this happening. When I restart matlab it works and then the next time it doesn't. Please help.
Thank you!
  2 Comments
Madhu Govindarajan
Madhu Govindarajan on 16 Dec 2015
The next time you see the error message try shutting down your ROS subscription from MATLAB using the rosshutdown function. Also clear everything in MATLAB, maybe there is some sort of previously existing connection that gets cleared when you restart MATLAB.
Ben Nurb
Ben Nurb on 25 Jan 2016
I have the same issue. Were you able to get the error resolved?

Sign in to comment.

Answers (0)

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!