Undefined function or variable 'createRigidBodyTree'.

조회 수: 6 (최근 30일)
Tasneem Khan
Tasneem Khan 2019년 10월 29일
댓글: 勇刚 张 2021년 12월 4일
I have the Robotics System Toolbox installed but this error shows up when I try to use this line of code
robot = createRigidBodyTree ;
  댓글 수: 1
勇刚 张
勇刚 张 2021년 12월 4일
'createRigidBodyTree'可能是一个.m文件,并不是一个可以直接使用的函数,直接使用的函数是rigidBodyTree

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

채택된 답변

Cam Salzberger
Cam Salzberger 2019년 10월 30일
Hello Tasneem,
"createRigidBodyTree" is not a function that ships with RST, or any MATLAB toolbox as far as I can tell. It appears to be part of a file-exchange submission designed to demonstrate some of the robotics-related capability. Did you have a previous version of MATLAB that this worked with, and now that you have installed R2018b it no longer works? If that is the case, you may simply need to add the folders back to the MATLAB search path again.
Alternatively, you can construct a rigid body tree using the normal constructor.
-Cam

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by