# MATLAB 2024 and UR10e

**URL:** https://forum.universal-robots.com/t/matlab-2024-and-ur10e/35226
**Category:** ROS
**Created:** [July 12, 2024, 8:21pm UTC](https://forum.universal-robots.com/t/matlab-2024-and-ur10e/35226 "2024-07-12T20:21:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wess.gates](https://avatars.discourse-cdn.com/v4/letter/w/a183cd/32.png) [@wess.gates](https://forum.universal-robots.com/u/wess.gates)
#### Post date: [July 12, 2024, 8:21pm UTC](https://forum.universal-robots.com/t/matlab-2024-and-ur10e/35226/1 "2024-07-12T20:21:27Z")

</div>

Hello,

I am running Ubuntu 22.04 and MATLAB 2024 with ROS2. I am attempting to follow both the [MATLAB setup](https://www.mathworks.com/help/robotics/urseries/ug/getting-started-controlling-ur5e.html) as well as the [UR Setup](https://www.universal-robots.com/articles/ur/interface-communication/setting-up-environment-for-use-with-matlab-for-ur-development/) for establishing communication with URSim and later a UR10e via MATLAB/ROS2.

I believe my slight deviation from the documented instructions is that I am using the URSim Docker image. I can run the sim and interact with it via the VNC viewer AOK. I can also interact with it using the RTDE examples. However, when the ROS2 approach is introduced I cannot verify the setup using the MathWorks verification steps. It confirms ROS2 but once I get to the point of requesting the joint angles the process times out. There are no meaningful error messages and the troubleshooting steps on the right happen to be all “passed”.

Another potential source of error or misunderstanding on my end is the Network. My local host is on a 10.x network while the robot and docker are on a 192.x network. In either case everything is “pingable”. The external control URCap is also installed on the URSim.

Any thoughts or help on how to troubleshoot this would be appreciated.

 ![Screenshot from 2024-07-12 13-16-36](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/57a4c78c3ed646791b6bf7f058696df46ef52534.png)
