Robotic System Toolbox not working

15 views (last 30 days)
Thanks in advance for the help. I am trying to start using the robotic system toolbox. I have Matlab installed and through command
ver
I can see that the toolbox is also intalled. But, whenever I use a command from the toolbox, like:
body1 = robotics.RigidBody('body1');
The error Undefined variable "robotics" or class "robotics.RigidBody" is shown. I check:
which robotics.Rigidbody
and it is not found. I check paths and all folders seem to be in the list. I also checked license:
license('inuse')
Both matlab and robotics_system_toolbox are shown as an answer. What could I be missing?

Accepted Answer

Cam Salzberger
Cam Salzberger on 5 Oct 2017
Edited: Cam Salzberger on 5 Oct 2017
Hello Hector,
Which release of MATLAB are you using? The online documentation is always on the latest release (R2017b currently), and rigid bodies were added in R2016b. Try this out, if you have an earlier version, to ensure the toolbox is accessible and licensed:
d = angdiff(pi,2*pi)
If you would like to see documentation online for earlier releases of MATLAB, please see this page.
Also, take care with the spelling and capitalization. "which rotics.Rigidbody" won't find anything, but "which robotics.RigidBody" might
-Cam
  1 Comment
HECTOR A M
HECTOR A M on 5 Oct 2017
Edited: HECTOR A M on 5 Oct 2017
Thanks Cam, seems that's the case, as angdiff is working fine.My version is 2015a

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!