MATLAB Answers

Undefined function or variable 'createRigidBodyTree'.

31 views (last 30 days)
Tasneem Khan
Tasneem Khan on 29 Oct 2019
Answered: Cam Salzberger on 30 Oct 2019
I have the Robotics System Toolbox installed but this error shows up when I try to use this line of code
robot = createRigidBodyTree ;

  0 Comments

Sign in to comment.

Answers (1)

Cam Salzberger
Cam Salzberger on 30 Oct 2019
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 Comments

Sign in to comment.

Sign in to answer this question.

Products


Release

R2018b