MATLAB Help Center
Load rigid body tree model of Universal Robots UR Series cobot
Since R2026a
rbt = urClientRigidBodyTree(cobotname)
rbt = urClientRigidBodyTree(cobotname) loads the rigid body tree model of the Universal Robots UR Series cobot specified by cobotname.
cobotname
example
collapse all
Load the rigid body tree model of the cobot.
rbt = urClientRigidBodyTree('universalUR10e');
Obtain end-effector name and number of joints from the rigid body tree model.
EndEffectorName = rbt.BodyNames{end}; NumberOfJoints = numel(rbt.Bodies)
universalUR10
universalUR10e
universalUR16e
universalUR3
universalUR3e
universalUR5
universalUR5e
Name of the Universal Robots UR Series cobot for which you want to load the rigid body tree model.
Data Types: string
string
Introduced in R2026a
urRTDEClient
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office