robotics system toolbox example issue

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)

Do you have the toolbox? What do you get from "ver robotics"
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

Asked:

on 18 Feb 2020

Answered:

on 19 Feb 2020

Community Treasure Hunt

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

Start Hunting!