Robotic System Toolbox not working

15 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Cam Salzberger
Cam Salzberger il 5 Ott 2017
Modificato: Cam Salzberger il 5 Ott 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 Commento
HECTOR A M
HECTOR A M il 5 Ott 2017
Modificato: HECTOR A M il 5 Ott 2017
Thanks Cam, seems that's the case, as angdiff is working fine.My version is 2015a

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by