UR5 Control Using Matlab

Read current robot tooltip, move to desired pose and orientation

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/50655-ur5-control-using-matlab), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: 3D mouse support

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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