Please clone repository and open waypointspath.m
If you run showdetails(robot) it will give you the rigidBodyTree of the robot which shows the body and joints of the robot.
When I try to bar = importrobot(Pectus_bar_simple) and showdetails(bar) it shows no bodies.