I am getting this error when I am trying to plot the PUMA 560 robot: Undefined function 'arrow3' for input arguments of type 'double'. How can I solve this?

Undefined function 'arrow3' for input arguments of type 'double'.
Error in trplot (line 229)
ha = arrow3(mstart(i,1:3), mend(i,1:3), [axcolors{i} num2str(opt.width)]);
Error in SerialLink/plot>create_robot (line 408)
h.wrist = trplot(eye(4,4), 'labels', upper(opt.wristlabel), 'arrow', 'rgb', 'length', 15*s);
Error in SerialLink/plot (line 241)
handle = create_robot(robot, opt);

답변 (2개)

Make sure that in your working directory you have the function file named "arrow3"

댓글 수: 1

I checked. There was a file. I just tried running it, and it looks to have solved the problem. Thanks for the help

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Robotics에 대해 자세히 알아보기

제품

질문:

2015년 6월 9일

댓글:

2015년 6월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by