Robotic System Toolbox not working

조회 수: 12 (최근 30일)
HECTOR A M
HECTOR A M 2017년 10월 5일
편집: HECTOR A M 2017년 10월 5일
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?

채택된 답변

Cam Salzberger
Cam Salzberger 2017년 10월 5일
편집: Cam Salzberger 2017년 10월 5일
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
HECTOR A M
HECTOR A M 2017년 10월 5일
편집: HECTOR A M 2017년 10월 5일
Thanks Cam, seems that's the case, as angdiff is working fine.My version is 2015a

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by