フィルターのクリア

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?

4 ビュー (過去 30 日間)
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 件)

Stalin Samuel
Stalin Samuel 2015 年 6 月 9 日
Make sure that in your working directory you have the function file named "arrow3"
  1 件のコメント
Anjali Rao
Anjali Rao 2015 年 6 月 9 日
I checked. There was a file. I just tried running it, and it looks to have solved the problem. Thanks for the help

サインインしてコメントする。


Walter Roberson
Walter Roberson 2015 年 6 月 9 日
It appears you may need to download http://www.mathworks.com/matlabcentral/fileexchange/14056-arrow3-version-5 and unpack it into a directory and use
pathtool
to add the directory to your MATLAB path.

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by