MATLAB Answers

Why can't I use "rigidBodyJoint" function from Robotics System Toolbox?

5 views (last 30 days)
I can't use the "rigidBodyJoint"-function when constructing a robot, it only says "undefined function or variable". I have MATLAB 2018B with Robotics System Toolbox 2.1 (2018B version) installed. I can use other functions from the toolbox, such as "rigidBody" and "rigidBodyTree". What could be the problem?


Sign in to comment.

Accepted Answer

Cam Salzberger
Cam Salzberger on 3 Feb 2020
Hello Elin,
If you are looking at the documentation page for rigidBodyJoint in the current release (R2019b), there's a compatibility section that notes this class is a new name for what used to be called robotics.Joint in older releases. I would suggest always using the documentation for the release you are working in to avoid these types of issues (R2018b robotics.Joint page).

  1 Comment

Elin Nylund
Elin Nylund on 10 Feb 2020
Thank you! I decided to download the 2019b version instead, and now everything is working fine.

Sign in to comment.

More Answers (0)