error using robotic system toolbox

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 个评论

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.
I have the same issue. Were you able to get the error resolved?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Publishers and Subscribers 的更多信息

提问:

2015-12-12

评论:

2016-1-25

Community Treasure Hunt

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

Start Hunting!

Translated by