UR5 Control Using Matlab
Read current robot tooltip position and orientation, move to desired position and orientation.
You can also activate or deactivate cooperative control mode in CB2 controller; or read robot pose while you are moving it in cooperative or automatic mode.
You can also control UR5 using 3d mouse.
Requires running a program on Polyscope software (in the package). Tested on several UR5 (CB2) and Polyscope versions.
Cite As
Fereshteh Aalamifar (2026). UR5 Control Using Matlab (https://uk.mathworks.com/matlabcentral/fileexchange/50655-ur5-control-using-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Simulink > Simulation >
- Robotics and Autonomous Systems > ROS Toolbox > ROS Toolbox Supported Hardware >
Tags
Acknowledgements
Inspired by: 3D mouse support
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
UR5RobotControlV3.2/
| Version | Published | Release Notes | |
|---|---|---|---|
| 3.2.0.0 | Cooperative control in all directions |
||
| 3.1.0.0 | Added cooperative mode activation and real time robot pose reading |
||
| 1.4.0.0 | Added 3d mouse control |
||
| 1.3.0.0 | Decreased the delay in moverobot. |
||
| 1.2.0.0 | Fixed a bug in the example. |
||
| 1.1.0.0 | Added comments. |
||
| 1.0.0.0 |
