robotics system toolbox example issue

1 view (last 30 days)
Noah Barrow
Noah Barrow on 18 Feb 2020
Answered: Cam Salzberger on 19 Feb 2020
Hey everyone,
I was trying to follow along with an example from the robotics system toolbox documentation ("plan a reaching trajectory with kinematic constraints") and I keep enclountering this error. I've input the code a few times but I keep getting the same error...

Answers (2)

Fangjun Jiang
Fangjun Jiang on 18 Feb 2020
Do you have the toolbox? What do you get from "ver robotics"

Cam Salzberger
Cam Salzberger on 19 Feb 2020
Hello Noah,
The rigidBody function was renamed from robotics.RigidBody in R2019b. If you have an earlier release, you'll need to use robotics.RigidBody (up to R2016b when it was introduced). I suggest always checking the documentation for the release that you are using.
If you do have R2019b, then you may need to confirm that you have the toolbox, as Fangjun sugested, and that it is properly installed and on the MATLAB search path.
-Cam

Community Treasure Hunt

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

Start Hunting!